Android Question Mapping Idea

RichardN

Well-Known Member
Licensed User
Longtime User
I am giving some thought to a mapping problem that has been put to me.

I have a graphic designer produced map that was based on a Google satellite view but now has many additional graphic elements such that nothing now remains of the original image. The area is about 5km east/west and about 3km north/south and fortunately aligned to true north. The Lat/Long coordinates of the map corners are known. The map is quite a detailed .jpg with the need to zoom-in on areas to view the full detail. The graphic is consequently quite large but I tested it with ZoomImageView and the user experience is very good.

I would like to depict the user's current Lat/Long position from FusedLocationProvider on the map but there seem to be several ways of attacking the problem. Is there a ready-cooked map-tile view that might suit the purpose or am I obliged to design and animate an overlay position cursor myself?

Has anybody any experience of a similar project?
 

drgottjr

Expert
Licensed User
Longtime User
as long as the coordinates of the map corners are known, there are many references to the formulas
used to converted those coordinates to given x,y positions on the map. from there you can place a
marker of your choice/design. that's how it's done. just google this "gps coordinates to pixels".
 
Upvote 0

kgf

Member
Licensed User
Longtime User
You could add the jpg as a Ground overlay on Google Maps, need to use Google Maps Extras
 
Upvote 0

RichardN

Well-Known Member
Licensed User
Longtime User
@kgf Do you mean add a transparent background overlay? That would need a .PNG file as you can't do that with a .JPG ?
 
Upvote 0

TILogistic

Expert
Licensed User
Longtime User
other options:
search in forums
 
Upvote 0

kgf

Member
Licensed User
Longtime User
With Google maps extras you can add a jpg as an foreground overlay, non transparent.
 
Upvote 0
Top