How can I automatically create address markers in Google or OpenStreetMap?

I have a list of addresses in the UK and I would like to build them on google or openstreetmap (I don't think that).

Is there a way to display a batch of addresses on a map with points to represent the location (rather than a standard marker).

To make things a little more complicated, I would like to change the color and size of some markers.

The data source is the street address, including zip code and marker type (size, color).

Does anyone know a website, a script, a process to achieve this?

The geographic area will be a suburb, so this is a fairly small area.

+3
source share
1 answer

You can use the Google Geocoding service to scroll through your addresses and translate them into latitude / longitude values ​​that you can map. You make http requests to http://maps.googleapis.com/maps/api/geocode to get JSON (or XML) responses with the data you need.

After you have geocoded all of your addresses, you can use the standard Google Maps API to render your locations as markers on the map. You can customize the appearance of your markers by specifying the appropriate options when creating google.maps.marker .

+2
source

Source: https://habr.com/ru/post/1766293/


All Articles