Developer forum

Forum » Templates » Maps reset button

Maps reset button

Martin Gammelholm
Reply

Hi,

Our customer Gram would like a reset button on their dealer map:
http://gram.dk/Default.aspx?ID=127
(Remember to login to admin)

Would it be possible to reset the map also to it's original zoom level?
Right now, it just resets the input field.

 

BR
Martin


Replies

 
Martin Gammelholm
Reply

Bump.

Mikkel Ricky what do you think? :)

 
Mikkel Ricky
Reply

Everything is possible. How much money do you have?

 
Mikkel Ricky
Reply
This post has been marked as an answer

Use https://dl.dropboxusercontent.com/u/77245248/dynamicweb/maps/javascripts/Maps-reset-map.js and add a button with class reset-map to you Maps template:

<button type="button" class="reset-map">@Translate("Reset map")</button>

 

Best regards,
Mikkel

Votes for this answer: 1
 
Martin Gammelholm
Reply

We don't have any money, so I hope it will do with a big thank you! It works perfectly :)

 

BR
Martin

 

You must be logged in to post in the forum