Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 2451

Use when the version you are using of the OpenLayers JavaScript client toolkit is 3 or later

3 votes
5 answers
13k views

Disabling map drag and zoom in OpenLayers 3?

I need to disable all map interactions, like map zoom, drag, scroll zoom, any kind of interaction. Is there some easy way to do it?
againstflow's user avatar
  • 5,054
0 votes
1 answer
1k views

How to put image on top of OpenLayers 3 map by pixels

I need to put image which should be in middle top of openlayers 3 map. So, it should be defined with map canvas and pixels. Is that possible to do? …
againstflow's user avatar
  • 5,054
1 vote

How to put image on top of OpenLayers 3 map by pixels

I figured it out, solution would be to get bounds coords from pixels: map.getCoordinateFromPixel([x,y]);
againstflow's user avatar
  • 5,054
2 votes
0 answers
169 views

Can OpenLayers 3 run without browser or is it designed to be used only in browser?

I need to run OpenLayers app which will render some map into canvas and then I need url of that canvas ( Canvas.toDataUrl() ), I would use NodeJS and Node Canvas to get it done. … I wonder can OpenLayers run without browser? …
againstflow's user avatar
  • 5,054
3 votes
1 answer
17k views

How to add marker dynamically when clicked on map using OpenLayers 3?

I'm trying to add point (marker) on map click with custom style using OpenLayers 3. …
againstflow's user avatar
  • 5,054