Gmap + Primefaces: Map Location from full address
Hy,
well i'm using a JSF2 project with primefaces 3.0 and GMmap component.
As we know this component accepts just location, but i need to work with address as well..
For exemple, instead of using a Lat,Log I would like to pass the full address (street, state, city..) to get the map.
I would like to know if there is any workaround, like:
Is it possible to call a javascript just after the p:gmap to change the location based in the address?
Is it any Java API to call using a adress and receiveing a 开发者_StackOverflow中文版Lat,Log ?
Regards,
This process is known as geocoding. Please see the documentation for it on the Google Maps API page.
精彩评论