Altering a map created during 'pageinit'
Hi, I am using a multipage template and in order to avoid one error with google maps, I placed the map initialization in the location 'pageinit' event.
I am now having trouble altering the map with a radius circle about the center point. I am putting the circle size in localStorage and retrieving it. But even though that value alters I cannot seem to make a dynamic radius.
How do I alter the map created in the 'pageinit' script dynamically.
I have tried to make a var which is a circle and set it with circle.setMap(map) but it does not seem to work.
I just need to alter the map created in a 'pageinit' but cannot seem to find a way to do it dynamically.