Latitude and Longitude not updating

2 posts / 0 new
Last post
Timman47
Latitude and Longitude not updating

My intentions are to have the user select a city from a dropdown box and then click a submit button and the map changes its view to that particular city.

My code is here https://pastebin.com/fua0TsXS

 

I'm confused to why it doesn't do anything

 


MQBrianCoakley
The location is hard coded.
The location is hard coded. It needs to be geocoded each time the user chooses a new location. This may help.