开发者

setting markers for the tutorials

I am implementing this tutorial . please guide is there any proper site from where i can get the latitude and longitude , i have开发者_开发知识库 found many but most of them providing some specific area latitude and longitude plus i would like to know is there any method for setting up the markers other then latitude and longitude , by location name for this tutorial

for example

INSERT INTO `markers` (`name`, `address`, `lat`, `lng`) VALUES ('Frankie Johnnie & Luigo Too','939 W El Camino Real, Mountain View, CA','37.386339','-122.085823');
INSERT INTO `markers` (`name`, `address`, `lat`, `lng`) VALUES ('Amici\'s East Coast Pizzeria','790 Castro St, Mountain View, CA','37.38714','-122.083235');

can be replaced by

INSERT INTO `markers` (`name`, `address`, `address`)

or this would be the best case that admin can directly set a marker on the page and it stores lat and longi of the position

please guide . Thanks


You must have longitude and latitude to show something on the map.

Of course there are ways to geocode names and places, but in the backend that translates to coordinates as well. Especially in the tutorial case, there are no real places i suspect - only dummy data that will not be geocodeable.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜