<html xmlns="http://www.w3.org/1999/xhtml">     <head>     <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />     <meta name="apple-mobile-web...
Here is my code for adding a image on openlayers map.  var image = new OpenLayers.Layer.Image(     'Image 1',     'http://belocalat.com/wp-content/plugins/openlayers/data/baselayer-img1.png',     //new OpenLayers.Bounds(27.418100,35.7...
i am currently upgrading OpenLayers client version 2.13.1 with the new version of OpenLayers, OL3. My setup consist of Mapserver as a WMS mapping server and previously mentioned OpenLayers client.  In old system I made support for user interaction in...
I want to set "EPSG:4326" as the projection of an OpenLayers map, but when I try it, I always get "EPSG:900913".  function init() {      var options = {             projection: new OpenLayers.Projection("EPSG:4326")  // ignore...
I have also added this vector in my local host code but JSON file is not loaded.  geojson_layer = new OpenLayers.Layer.Vector("features", {             projection: epsg4326,             strategies: [new OpenLayers.Strategy.Fixed()],...
In my SPA i want to inlcude openstreetmap via OpenLayer per JavaScript. This works fine. But how can i change the map type to the Hike&Bike Map like here: http://hikebikemap.de/ ?  currently i am using the following code:  var zoom            = 1...
When loading many feature footprint vectors onto the map, the openlayers map and web application becomes unresponsive.  Is there any way to improve the performance of the openlayers map with many vectors?    We would like to be able to support at le...
I'm implementing an OpenLayers SelectFeature control, and trying to position an JQuery UI dialog widget right on top of the selected feature. To use the JQuery UI Position utility, it requires either a DOM element or an Event.  The onSelect callb...
How can I add two or more layers in a group so that I can see them in layerswitcher categorised and can select or unselect all !? Here is the code I have:              var line_1 = new OpenLayers.Layer.Vector(" Line no - 1", {...
My application ( html+ JavaScript) use Google map as a base layer. I also setup OSM as an offline base layer to use when there is no internet connection.  Now I'm locking for a way to make app check for internet connection, if there is, then use...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.