I need to display a map based on a place being selected. I need to know how to change the map based on the dropdown menu. Here is what I have so far, but I cannot seem to figure out how to actually change the map using a selection from the dropdown. I am just completely blanking here. Any references or help is greatly appreciated. Here is the code I currently have.
<script>
function myMap() {
var mapCanvas = document.getElementById("map");
var mapOptions = {
center: new google.maps.LatLng(40.685646, -76.195499), zoom: 10
};
var map = new google.maps.Map(mapCanvas, mapOptions);
}
</script>
<div>
<h2>Please Choose a City</h2>
</div>
<form>
<fieldset>
<label>
Cities
</label>
<select id="myCity" name="myCity">
<option value="None">Select a City</option>
<option value="PHI">Philadelphia, PA</option>
<option value="NYC">New York, NY</option>
<option value="HAR">Hartford, CT</option>
</select>
</fieldset>
</form>