Jump to content

how to stop google map zoom to not refresh when return to map


Lisa23

Recommended Posts

Hi i have this google map on the page which the user can zoom for a location then click on the location link and will open a new page, what i am trying to do is on that new page theres a back to map button which returns to the map using (href='javascript:history.go(-1)'>) now that returns to the page fine the problem is that it when go back to the map it seem to unzoom is there a way i could return to the page without refreshing the page this way hopefully the zoom will be on the same location. i tried had this code on the map page but didnt work

 

<script type="text/javascript">
function refresh()
{
    window.location.reload(false);
}
</script>

 

this my page

http://www.estateagentsonfilm.co.uk/area_films.php if you click one of the maps it will open a view film link click on that will open new page i want to be able to return to the map page keep the zoom in if you zoom

 

is that possible if so help

 

please thanks

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.