google-map-react / old-examples

Examples for google-map-react component.
http://google-map-react.github.io/google-map-react/map/main/
357 stars 314 forks source link

Coordinates from Address string #14

Closed renatorib closed 8 years ago

renatorib commented 8 years ago

Is there some possibility to retrieve lat and lng by a address string?

istarkov commented 8 years ago

Yes.

renatorib commented 8 years ago

With this component? Without external google lib for geocoding?

istarkov commented 8 years ago

No ;-) README google-map-react is a component written over a small set of the Google Maps API. It allows you to render any React component on the Google Map that is all the library https://github.com/istarkov/google-map-react is intended for. No geocoding, etc, just draw React components on the map.

There are a lot of geocoding libraries, not only google available.

renatorib commented 8 years ago

Ah, understood. Thanks

istarkov commented 8 years ago

In most cases I recommend this https://github.com/tomchentw/react-google-maps library as it has a good google map api surface support.

renatorib commented 8 years ago

I'm using this lib with the google maps geocode api for now =P