Android Question GoogleMapsExtras Tileoverlay

touchsquid

Active Member
Licensed User
Longtime User
I am trying to get OpenSeaMap tiles to overlay on a Google Map. I tried the tileoverlay example from this post:

I had to modify the code a bit to get it to run, but no change to the map code.

The marker shows but not the overlay.

Does anyone have a current example of tile overlays working? My code seems correct but no overlays appear.

My example code, based on the GoogleMaps example, is attached.

Thanks!
 

Attachments

  • SemapOverlay.zip
    8.9 KB · Views: 137
Solution
Addendum:
It works perfectly in Release mode, but not in debug mode. I have no idea why.
Release mode will always re-compile from scratch.
Debug mode will try to compile only the necessary for the changes made to work.
(Code hot-swap)
It is a good idea to, from time to time, stop the debug service and clean the project (ctrl-P) and also clean any unused or unneeded files.

touchsquid

Active Member
Licensed User
Longtime User
Addendum:
It works perfectly in Release mode, but not in debug mode. I have no idea why.
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
Addendum:
It works perfectly in Release mode, but not in debug mode. I have no idea why.
Release mode will always re-compile from scratch.
Debug mode will try to compile only the necessary for the changes made to work.
(Code hot-swap)
It is a good idea to, from time to time, stop the debug service and clean the project (ctrl-P) and also clean any unused or unneeded files.
 
Upvote 0
Solution
Top