Re: [ol3-dev] Mobile performance

2016-10-13 Thread Viglino Jean-Marc via OL3 Dev
Hello, You can use the hidpi option to turn off WMS request based on pixelRatio. The result is mainly visible on texts. See http://jsfiddle.net/Viglino/Lpbnw14z/ Also pay attention to the fact the canvas map already gets into account the pixelRatio, ie. a 100x100 px map will result in a 200x20

[ol3-dev] Possibility create automatic set of layers (ol.layer.Vector)

2016-10-13 Thread Bear via OL3 Dev
I wonder if it's posible export from insaid ol.layer.Vector value source: and style: as variable? I would like create automatic set of layers. I have array of source name (url_wfs) and array of style name (style_wfs). How to create vector layer when style value is deliver as variable? var url

[ol3-dev] openlayers3 clustering

2016-10-13 Thread Nextsolusindo via OL3 Dev
Hi all, I want to ask how to implement strategy clustering in openlayer 3 like openlayers 2? anyone have example? I want to clustering only the feature with have same class and every clustering I want give a overlay.. Must I overwrite clustersource.js or I can use another method? -- You receiv

[ol3-dev] Re: Should Cluster option in ol.source.cluster

2016-10-13 Thread Nextsolusindo via OL3 Dev
Not workplease give me an example how to modify cluster using strategy cluster or not..thanks Pada Kamis, 09 Juli 2015 16.32.39 UTC+7, David Hequet menulis: > > Hi, > > I submited a shouldCluster option PR here: > https://github.com/openlayers/ol3/pull/3892 > > Allow user to add a function t

[ol3-dev] Re: OpenLayers v3.13.1 TypeScript Definition

2016-10-13 Thread Poul Sørensen via OL3 Dev
I took the best/recent version I could find at some point and then I maintained by applying changes manually as I found out something was wrong. (rarely). Then there was a change after 1.16 that involed many namespace changes and we have not updated since, and therefore i have not got around to