owncloud-archive / maps

:globe_with_meridians: Maps app for ownCloud
GNU Affero General Public License v3.0
42 stars 20 forks source link

Refresh should not cause the map to reset to your position #86

Open jancborchardt opened 8 years ago

jancborchardt commented 8 years ago

Rather than always resetting to your position, the Maps app should save the bounding box you last saw and show that again.

When you want to change to your position, there’s already a button for it.

DJaeger commented 8 years ago

:+1:

jancborchardt commented 8 years ago

@DJaeger you want to pick that up? :)

DJaeger commented 8 years ago

That was not my intention for the comment, but sure I can look into it.

jancborchardt commented 8 years ago

@Djaeger yeah, everyone can just feel free to work on whatever they want of course. :) This seemed to be a nice thing we can fix for a smoother experience.

v1r0x commented 8 years ago

The current position on the map is stored in the URL as lat and lng parameter. Thus the position should be set to this position after a refresh. Do we need more?

jancborchardt commented 8 years ago

In the past, the geolocation automatically switched the position to there. If that’s fixed too we’re good to go. :)

v1r0x commented 8 years ago

Riiight....Totally forgot about that. Think we still have to fix this.

ps: could you have a look at the pending PRs. We're almost done for 0.1 ;)