Reputation: 725
Guys I am new at this map things and it works very well individually. I have understood many concepts and etc. However, I have stuck at the point that I have no idea how to mark places fetched via API on the static maps.
Here is a lovely http request for a static map:
https://maps.googleapis.com/maps/api/staticmap?center=40.75901,-73.98447&zoom=17&scale=2&size=640x640&maptype=roadmap&markers=color:green|label:C|40.75901,-73.98447
Let me go a bit detailed. I try to make them work on Unity 5 and save that response as texture to put into a 3d model. This is the result:
So far so good but I cannot go beyond. Lets say I want to get bus stops and put 3d bus station models onto the map. I can get the coordinates of the stations on the area. Now, how can I put a 3d model onto the red circle?
Can you guys lead me to a solution?
PS: I have encountered a term "mercator projection" but I couldnt inject it into my project :S
Upvotes: 0
Views: 747
Reputation: 3461
I suggest you to follow these steps:
Example:
Do the same for the Latitude and you have it. Easy, right?
Upvotes: 1