Tag Info

New answers tagged

1

You could issue a AJAX request to your PHP service. In Javascript, add an event listener to your radio buttons that listens for change events. In the listener, issue the AJAX request to your PHP service. Handle the response of the PHP server in the AJAX callback and update your map.


0

What you are looking for is a way to represent binary geometry as a string so you can easily pass it to the map. See PostGIS geometry outputs section of the docs. You might want to look into GeoJSON a bit.



Top 50 recent answers are included