简体   繁体   English

从地址获取纬度/经度而不使用googles地理定位

[英]Get latitude/longitude from address without googles geolocation

Hi I am trying to create a store locator without using googles API or geolocation but I have hit a problem, I want the user to input there address or where they will be and then get the users location from that and then convert it into latitude and longitude. 嗨我试图创建一个商店定位器,而不使用谷歌API或地理定位,但我遇到了问题,我希望用户输入地址或他们将在哪里,然后从中获取用户位置,然后将其转换为纬度和经度。

The reason I am not using googles API or geolocation is because in their terms it says you have to have the map on the screen and this is not what I want, any help would be much appreciated thanks in advance. 我不使用谷歌API或地理位置的原因是因为在他们的条款中它说你必须在屏幕上有地图,这不是我想要的,任何帮助将非常感谢提前感谢。

From user side you request to enter zip code and on the basis of zip code you can find out the latitude and longitude. 从用户端请求输入邮政编码,根据邮政编码,您可以找到纬度和经度。

There are so many sites which are selling the zip code database with the latitude and longitude information. 有很多网站在销售带有纬度和经度信息的邮政编码数据库。

you may need to purchase and work on that. 您可能需要购买并开展工作。

on the basis of latitude and longitude you can find the distance between to zip codes. 在纬度和经度的基础上,您可以找到邮政编码之间的距离。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM