PDA

View Full Version : Custom POI zoom level



mz87
03.07.2016, 17:42
I noticed that customPOIs now act like Map POIs and their zoom levels ..
Previously CustomPOIS were visible, for instance, at zoom level 10 .. now only at 16+ ..

How can I restore behavior of CustomPOIs to previous ? I need them to be visible and work like Annotations. The only difference is that I need that cluster grouping what Annotations can not do.

I'm using these two textures to customize their look ..

SKMapCustomPOI.SKPoiType.SK_POI_TYPE_LOCAL_SEARCH
SKMapCustomPOI.SKPoiType.SK_POI_TYPE_RECENTS

in style json I've modified this:

"texturelocation" : [ 0, 5 ],
"textureid" : 30,
"texturename" : "recent",

"textureid" : 31,
"texturelocation" : [ 2, 6 ],
"texturename" : "default",

Of course, I see where to change zoom levels, but then Map POIs with the same categories, for example, all restaurants become visible as well ..

Any ideas?
Thanks

Adela_Silvia
08.07.2016, 10:54
Let us check with our developers

mz87
22.07.2016, 13:17
Any progress on this?

Adela_Silvia
12.08.2016, 16:05
No update yet.

[Update- 17.08.2016]:
We couldn't reproduce this issue, custom POIs are visible at zoom level 10+ as you can see in the video that's illustrating this scenario: https://www.dropbox.com/s/qxkm1z93vfwitya/2016_08_17_15_07_59.mp4?dl=0

The code snippet that we used:

SKMapCustomPOI customPOI = new SKMapCustomPOI();
customPOI.setUniqueID(23);
customPOI.setLocation(poiCoordinates);
customPOI.setPoiType(SKMapCustomPOI.SKPoiType.SK_P OI_TYPE_LOCAL_SEARCH);
customPOI.setCategory(SKPOICategory.SKPOI_CATEGORY _AIRPORT);
mapView.addCustomPOI(customPOI);

Please check again using the latest build from our website and let us know if you're still experiencing this issue (send us a demo project)

mz87
07.09.2016, 14:18
Yes, this works!

But try other category - customPOI.setCategory(SKPOICategory.SKPOI_CATEGORY _RESTAURANT); and you'll see that only on high zoom level Custom POI appears.

Also I don't get it - why ios has minZoomLevel setting, but Android don't ?

http://developer.skobbler.com/docs/android/3.0.0/com/skobbler/ngx/map/SKMapCustomPOI.html
https://developer.skobbler.com/docs/ios/3.0.0/Classes/SKMapCustomPOI.html

mz87
26.09.2016, 06:46
Any chance of getting feedback on this? What should I do?

dandronic
26.09.2016, 08:23
We've update the SKMapCustomPOI class to also included a minZoomLevel property - it will be available with the next release 3.0.2

For 3.0.1 you have to use one of the categories/type combinations that work.

mz87
26.09.2016, 10:26
is there any approximate date for 3.0.2 ?

mz87
11.10.2016, 15:15
Hi, any news about this?
I already transformed all my SKAnnoation back to SKCustomPOI .. waiting for min zoom level feature on Android.
iOS working great.

thanks