×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: centering the markers

centering the markers 12 years 10 months ago #12827

  • Eliecer Marchante
  • Eliecer Marchante's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
Any way to automatically center the markers when we are switching between full screen and regular size map?

centering the markers 12 years 10 months ago #12829

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Should we do this? I was thinking about this when I was creating the functionality, but I decided that it is better without. I mean I don't want yet another resizing of the map... I need some more opinions on this.. Anyone?

centering the markers 12 years 10 months ago #12831

  • Eliecer Marchante
  • Eliecer Marchante's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
Here we go again,

Ok. I am in full screen mode showing all the markers, and i wanna go back to regular size. Few markers are out of the screen, and I have to click on 'marker center' button to see them again.

The other option: (this one is not so bad) I am in regular size screen showing all the markers, going to full screen mode the markers are covering less than half of the screen, and i have to click on 'marker center' button to make them cover the whole screen.

centering the markers 12 years 10 months ago #12833

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
But what if you are centred on a marker and you want to go in fullscreen, because you want to see more of the area around the marker... You click on fullscreen and the map moves and is not centered on the things you expect...

In this case there is no perfect solution, that is why I want some more opinions...

centering the markers 12 years 10 months ago #12834

  • Eliecer Marchante
  • Eliecer Marchante's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 493
  • Karma: 11
  • Thank you received: 13
In that case, let me change the question:

What's the code to modify to automatically center the markers when we are switching between full screen and regular size map?
  • Page:
  • 1
Time to create page: 0.124 seconds