Electronic Panda via OL3 Dev
2013-09-29 21:33:06 UTC
Greetings,
Today I have been working on OpenLayers with Phonegap, it worked pretty
well, here is a simple example if ye wanna see how does it work on android
mobile platform:
https://play.google.com/store/apps/details?id=com.onderaltintas.ol3phonegap<https://play.google.com/store/apps/details?id=com.onderaltintas.ol3phonegap&hl=tr>
So, I wanted to ask few things:
-Is it possible to observe view's rotation event? I used overlay because
vector layer's style's rotation was not working or I couldn't make it work,
plus adding removing marker or changing the marker's attributes was not
possible as far as I know so removing vector layer and adding it once more
was not a good solution.
-Is OL3 caching tiles when they were loaded from the server? Or is it
possible to save tiles with using OL3 and use them as offline source? There
were an example about it in ol3 examples I am pretty sure however today I
couldn't find that example.
-Is it possible to remove zoom control ui elements from the map? Checked
api docs but couldn't find where are the zoom control buttons.
-Instead of rotating marker, firstly I tryed rotating View, however while
rotating map's view, ol.animation.rotation is not working so animation
doesn't look smooth or does it supposed to work with View's rotation?
-Should we put ol.animation.zoom and ol.animation.pan to map.beforeRender()
everytime when we use view.setCenter() or view.setZoom(); or is applying
once enough? Tryed to apply once when I am creating map however it didn't
work.
Best regards,
Today I have been working on OpenLayers with Phonegap, it worked pretty
well, here is a simple example if ye wanna see how does it work on android
mobile platform:
https://play.google.com/store/apps/details?id=com.onderaltintas.ol3phonegap<https://play.google.com/store/apps/details?id=com.onderaltintas.ol3phonegap&hl=tr>
So, I wanted to ask few things:
-Is it possible to observe view's rotation event? I used overlay because
vector layer's style's rotation was not working or I couldn't make it work,
plus adding removing marker or changing the marker's attributes was not
possible as far as I know so removing vector layer and adding it once more
was not a good solution.
-Is OL3 caching tiles when they were loaded from the server? Or is it
possible to save tiles with using OL3 and use them as offline source? There
were an example about it in ol3 examples I am pretty sure however today I
couldn't find that example.
-Is it possible to remove zoom control ui elements from the map? Checked
api docs but couldn't find where are the zoom control buttons.
-Instead of rotating marker, firstly I tryed rotating View, however while
rotating map's view, ol.animation.rotation is not working so animation
doesn't look smooth or does it supposed to work with View's rotation?
-Should we put ol.animation.zoom and ol.animation.pan to map.beforeRender()
everytime when we use view.setCenter() or view.setZoom(); or is applying
once enough? Tryed to apply once when I am creating map however it didn't
work.
Best regards,
--
https://groups.google.com/d/forum/ol3-dev
---
You received this message because you are subscribed to the Google Groups "OL3 Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ol3-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to ol3-dev-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
https://groups.google.com/d/forum/ol3-dev
---
You received this message because you are subscribed to the Google Groups "OL3 Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ol3-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to ol3-dev-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.