real sorry, that was dumb … Here some more details.
IMPORTANT: do not accept geolocation here, otherwise map goes to wherever you are.
This is the set up WITHOUT centering the map at Oslo, leaving the center blank (which defaults to Norway, lat 60.472024 – lon 8.468946). As you can see it loads with the centre of Norway. And if you type 0170 (OSLO zip code), then you get to Oslo area OK with the shops there. But if you type 2020, which is my postcode (20km north-east of Oslo), then you get to a completely different location to the east coast of Norway, 1000 KM away. 2020 does not correspond to any store location, while 0170 does. So I guess the SLP defaults back to center (Norway) when zip code is unknown, and tries to find the closes shops there, zooming the map accordingly.
(should be no geolocation here, since staging site is not under https, but in case deny as well)
This is the set up with map centered at Oslo (lat 59.9138688 – lon 10.7522454). As you can see the map load correctly around the Olso area. And if you type 0170, it stays there. but if I type 2020, it goes to Kansas City. So in this case SLP does not takes into consideration my Olso map center when an unknown zip is entered.
FYI, the intended behaviour for us is to center the map at OSLO, so that if user types an unknown zip code (as 2020), the map defaults to Olso, which is far better than the middle of Norway ,-)
Thanks for help
- This reply was modified 7 months, 2 weeks ago by Marco.