There is a part on my site where there is select
with several places in Brazil. When selecting a place, just below it has a iframe
with GoogleMaps that automatically updates to the coordinate corresponding to the selected location.
The problem is that some coordinates do not appear right. The location indicated is different from the correct location, perhaps because the location is not registered with Google or because it has not actually been mapped.
In some cases it even shows the correct area of the place, but without any marking. Example:
Thereshouldbeamarkerinthemiddleofthisbrownspot.
Thecodeforiframe
I'musingisthis:
<iframewidth="734" height="302" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com.br/maps?ie=UTF8&hq=&hnear=&t=m&iwloc=A&ll=COORDENADA_AQUI&spn=0,0&output=embed"></iframe>
Would anyone have a solution for this?
I thought about using API
of maps to generate the codes, but since there are several places (approx.10), it could generate some conflict or it would even be difficult to retrieve the coordinates of the database to insert them into javascript
.