Because of the blueprint changes inwards the novel Google Maps, v4 of the Maps API must move inwards the pipeline. I hold off soundless that the unloosen is only about means off.
Inspired past times the novel index bill of fare upshot inwards Google Maps I decided to accept a trivial Lord's Day hack to run into if I could practise something similar. Here's the result, Not the New Google Maps.
First off to add together the novel facial expression map base of operations layer it is a elementary procedure to add
google.maps.visualRefresh
to the javascript for the map.
Initially I decided to supervene upon data windows amongst a slide-down index card. It was elementary plenty to practise a div chemical component subdivision for the index bill of fare in addition to utilisation jQuery to practise a slide-down in addition to slide-up upshot for the card. Then it was only a affair of using
document.getElementById('divName').innerHTML
in addition to a telephone call upwards to opened upwards the bill of fare index, within the marker's lawsuit listener.
After achieving that soundless I decided to take away the lawsuit mark from the finished map.
One of the actually impressive novel features inwards the novel Google Maps is the opposite geo-coding that happens when yous click on the map. When the user clicks on a location on the map a bill of fare opens showing the location's address in addition to a modest thumbnail of the Street View available.
So I decided to utilisation my index bill of fare blueprint to accomplish something similar. When yous click on the map I geo-code the location in addition to add together a trivial static Street View to the slide-down index card. If I larn the fourth dimension it should move a elementary plenty procedure to add together a operate in addition to thence that when the user clicks on the static Street View the map is replaced amongst the amount interactive Street View.