Difference between embeded GMAP and GEO location

微笑、不失礼 提交于 2020-01-06 20:04:05

问题


Please let me know the difference between keeping the google map as below http://www.addmap.org/ which is very easy and using GEO Location API. https://developers.google.com/maps/documentation/javascript/examples/map-geolocation

<html>
<body>
<div style="width:600px; height:500px; overflow:hidden;"><iframe width="600" 
height="500" src="https://maps.google.com/maps?
q=Berry%20Street%2012%20%2C%20%20New%20York&t=m&z=14&ie=UTF8&iwloc=&output=embed" 
frameborder="0" scrolling="no" marginheight="0" marginwidth="0"></iframe><iframe 
src="http://www.embed-google-map.com/embed-map.php?get=map-datas" frameborder="0" 
scrolling="no" marginheight="0" marginwidth="0"><a href="http://www.staubers.de" 
class="map-data">staubers.de</a><style>.maps-style_map:initreaction=10false_attempt10-
border</style></iframe></div>

</body>

</html>

回答1:


I would suppose the biggest difference is that with the actual direct API usage you would be able to utilize any functionality provided by the app, and thus make the Maps service usage more dynamic.

And with the addmap, you can only have what they are supporting (never used that, looks that you can just show a place on a map), thus if that is enough for you, then I suppose go with the easy solution.

And if you doubt that you would have future needs that are not covered by the addmap, then I would suggest you learn the real API usage



来源:https://stackoverflow.com/questions/23024028/difference-between-embeded-gmap-and-geo-location

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!