Reputation
1,746
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
6 14
Newest
 Yearling
Impact
~107k people reached

  • 0 posts edited
  • 0 helpful flags
  • 94 votes cast
Feb
20
revised openlayers 3 - fit to extent
Fixed bug in code
Feb
18
answered openlayers 3 - fit to extent
Feb
10
answered Openlayers 3 GeoJson save and load
Feb
10
comment Openlayers 3 GeoJson save and load
Obvious explanation would be, that those new features were not stored in same source with old ones. Could you expose that part of code, where you create drawing interactions?
Feb
9
answered Openlayers 3 GeoJson save and load
Feb
5
answered Capture mouse movement on the map
Feb
5
comment Openlayers redraw layers: consecutive redraw calls not working
Are you sure? When map.getLayersByName('bldg_logical') doesn't find any match, it returns empty array []. So you can successfully do tempLayer = [][0] and tempLayer will be undefined. You should add console.log(tempLayer) before tempLayer.redraw(true);
Feb
4
comment Highlight only the center feature on openlayers
Do you want to highlight feature, that is in the center of map? So whenever you pan map, new feature will be highlighted (or no feature at all - if there isn't any in the center of map)?
Feb
4
comment Offline Phonegap/Openlayers App
What's the size of your GeoJSON file? As one option, you could use Localstorage, but you may hit memory size limit with it.
Feb
3
comment OpenLayers 3 Zoom to extent only working in debug?
Indeed, that should fix the problem. Explanation: vector source is loaded asynchronously by AJAX call. In code from user2624067, extent is calculated immediately after creation of GPX layer. Data is not loaded yet, and therefore you get void extent. You have to wait, until loading is completed, like in given sample.
Feb
2
comment Openlayers 3 modify interaction and featureover
I think there isn't any featureover event at all in OL3? For that purpose, you can track mouse position with map.on('pointermove', ... and use map.forEachFeatureAtPixel to detect features. Here's example: openlayers.org/en/v3.13.0/examples/kml.html
Feb
2
answered OpenLayers 3 create bounding extent which includes two points
Dec
3
asked Mousemove event is without pixel value for data layer in Google Maps API
Nov
13
awarded  Yearling
Oct
8
awarded  Notable Question
Sep
29
awarded  Nice Answer
Feb
12
awarded  Popular Question
Jan
18
awarded  Nice Answer
Dec
16
comment OL3 Style function
Seems to be correct; just one small notice: remove comma from end of style: customStyleFunction, since it may cause problems in some IE's
Dec
10
comment Routing ensuring all areas are touched
Do you know sequence of those blue points? If sequence is determined, then there's nothing to do with Travelling salesman problem.