KapoorVashisht / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

Google map not loading when using custom tiles #308

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a MapView using OSMDroid google latest wrapper jar file
2. load custom tiles using the following code
mProvider = new MapTileProviderBasic(getActivity().getApplicationContext());
mProvider.setTileSource(TileSourceFactory.FIETS_OVERLAY_NL);
mTilesOverlay = new GoogleTilesOverlay(mProvider,getActivity());
mTilesOverlay.setUseDataConnection(false);
mTilesOverlay.useDataConnection();
mapView.getOverlays().add(mTilesOverlay);
3. Start the map based activity.
4. Custom map gets loaded but not the google default maps outside the custom map

What is the expected output? What do you see instead?
Google maps should be loaded for the tiles which are not customized

What version of the product are you using? On what operating system?
latest 3.0.7

Please provide any additional information below.
I have tried modifying the code with different TileSourceFactory types... still 
the issue is reproducible.
There is network connection and I am testing the issue on HTC desire

Nikhil

Original issue reported on code.google.com by nikhil.s...@gmail.com on 9 Feb 2012 at 2:52

Attachments:

GoogleCodeExporter commented 8 years ago
Please close this issue as this issue is fixed by recreating the map api key

Original comment by nikhil.s...@gmail.com on 9 Feb 2012 at 4:41

GoogleCodeExporter commented 8 years ago

Original comment by neilboyd on 9 Feb 2012 at 7:14