I've got geodjango running using openlayers and OpenStreetMaps with the admin app.
Now I want to write some views to display the data. Basically, I just want to add a list of points (seen in the admin) to the map.
Geodjango appears to use a special openlayers.js file to do it's magic in the admin. Is there a good way to interface with...
I want to create some heat-map style tiles to overlay over our base maps using Open Layers. Basically, I want to divide some some bounding box into a grid, and display each square of the grid using a different color based on how many points of a sample fall within that grid square.
The technologies involved are C#, OpenLayers, SQL Serv...
I'm using an OpenLayers-map and I want to use in it different mapservers, that use different coordinate systems. Can OpenLayers integrate it in the same map and automatically converts coordinate-systems?
...
I've seem to have hit a bug or i have overlooked something.
I written some code that enumerates through all the vector features on a OpenLayers Vector layer - to check if the mouse is inside a vector feature - if so then it displays some info based on the feature.
I had to write my own methods to do this because the existing OpenLayers...
I am using OpenLayers to create a box of interest with my program. I am using this code:
var control = new OpenLayers.Control();
OpenLayers.Util.extend(control, {
draw: function () {
this.box = new OpenLayers.Handler.Box( control,
{"done": this.notice},
{keyMask: OpenLayers.Handler.MOD_SHIFT});
...
I am using an image to display my map with OpenLayers. My JS code looks like this:
map = new OpenLayers.Map('map');
var options = {numZoomLevels: 7,
isBaseLayer: true,
};
var globe = new OpenLayers.Layer.Image(
'Globe ESA',
'http://upload.wikimedia.org/wikipedia/commons/0/07/World_map_blank_blac...
In open layers library, below is the method used to convert a screen co ordinate to latitude and longitude. I am not able to figure out the logic this method encapsulates?
getLatLonFromPoint: function (point) {
var center = this.getCenter();
//map center lat/lon
var res = this.getResolution();
//pre defined by the u...
Due to browser restrictions I need to use a proxy to make an openlayers map work.
The OpenLayers.ProxyHost javascript object handles the generation of a URL like:
http://webhost:8080/app/proxy/?url=http://WFS_server/options/...
Some of the requests will be GET's and others will be POST's.
I've written a Servlet Filter that will recie...
I've created a site link text using the api produced by the Ordnance Survey (I think this is called OpenSpace) which is based on OpenLayers. I've got it so you can click on the map to add a marker and I want to then be able to click on the markers and drag it around the map. Is there a simple way to do this using either the OpenSpace or ...
is There a way to use OpenLayers on Flex?
By now I've found Open-Scales project, but it is in development (not fully functional).
...
I am getting this error when the map loads.
The error is in the original, unmodified OpenLayers.js file on this line:
return!!(document.namespaces);
I have tried rewriting it to:
return (typeof(document.namespaces) != 'undefined');
and it worked but then I get same "unspecified" errors on further referrals to document.namespaces:
...
I am trying to make an interactive map of a really big warehouse.
I have scanned blueprints and am using OpenLayers with a TMS data source (generated using GDAL2Tiles) to display the map. Everything looks fantastic, but I'm at a total loss as to how to create a vector layer on top of it!
Ideally, I'd have ~100 or so vectors on top of m...
Actually I need only the full functionality of the map but with no tiles and no requests to the server for them. Can I somehow skip them on the initial load? Is there any default parameter I can set? If not I'll make the patch myself but I'm not sure it's not done yet.
...
Hi,
I have used Google Maps a couple of times, but what wondering about OpenLayers...
Before starting any kind of coding, here are a couple of questions that come to my mind, and you might help me about :
Why would I use OpenLayers instead of Google Maps ?
Except for it's OSS licence, anyway
Did you encounter any situation in which y...
Is there any chance that IE is not rendering vectors for OpenLayers when the vector layer is hidden?
...
When using geoserver (1.7.X) and OpenLayers (WMS layer) togheter I get a weird behavour if a render several layers with antialias and one of the bottom layers is really large compared to the rest of the features in the layers "on top".
The background should have been not black.
If I go straight to the geoserver and disable antialias ...
We are currently designing a GIS intranet application using GWT and ESRI ArcGIS. We are looking at 2 client side Javascript libraries:
The ESRI Javascript API
Open Layers
The library will have to support fused and non fused map caching as well as some layers that are dynamic. Open Layers GWT integration exists but the ESRI library is...
How can I easily customize OpenLayers map controls? Or at least, how can I minimize the controls' height?
Thank you.
PS. Is there any CSS override?
...
Hi. This is my first time on stackoverflow and working with Openlayers & Google Maps.
I've been browsing different forums & sites, including OpenLayers.org, to solve my issue. I've done searches on a combination of the following: openlayers, google map projections, and spherical mercator... but I have not found a solution.
Problem: T...
hi i wanted to display a us state on google map with borders drawn,
when the user opens up a page i wanted to show in the center that state...with borders drawn.
additionally i wanted to put a button on that page so that user clicks it and draws a rectangle on the state, the system will just have to popup the latitude and longitude of ...