OpenLayers is an open source JavaScript library for displaying map data in web browsers.

learn more… | top users | synonyms

0
votes
0answers
9 views

Programatically revert maps and layers provided by OpenLayers

After upgrading OpenLayers from 7.x-2.x-beta1 to 7.x-2.x-dev all of the default maps and layers provided by the module are left in an overridden state. I know OpenLayers uses CTools exportables for ...
0
votes
0answers
12 views

Group items only if they fall in the same cluster

I am using OpenLayers to map a bunch of job ads on the world map. Suppose that company ABC advertises 2 positions in New York and 3 positions in San Francisco. What I want: I am using clusters to ...
0
votes
0answers
6 views

OpenLayers map doesnt display

Some days ago I installed Openlayers. I want to have a map on which I can display running routes. At the begin everything worked well. But now, the map isn't displayed when I try to change the content ...
0
votes
0answers
10 views

Loading new nodes in openlayers on drag

I have a "Search by location" system that uses a geofield exposed filter to find nodes in a certain radius. It works great. Except when my users drag outside of the area they originally searched for - ...
0
votes
0answers
20 views

Openlayers views map image overlay?

I am looking for help in using an image overlay using openlayers and views. Is there a way to overlay an image over existing tiles. The project has to do with showing a historical map, overlaying the ...
0
votes
0answers
49 views

geofield and leaflet maps: how to show proximity-originator on map?

My Goal: Show a hotel on a map, together with nearby restaurants. Currently, i have only a table, based on a view with the hotel's node-id as contextual filter. Now i'd like to put all that in a ...
0
votes
0answers
26 views

Search with map and block view results

I would like to create the following homepage, and just wanted to get some advice on the best way to go about it. Overall, this homepage will allow users to search for 3-4 different content types, and ...
0
votes
0answers
15 views

How can I implement the OpenLayers.Control.ModifyFeature

I have a form including an openlayers map, in which users can draw a path using the vector tool. Additionally I want the user (or admin) to be able to modify his/her path if some points in it are not ...
0
votes
1answer
100 views

How to make maps full screen width using Bootstrap (Tweme variation)

I'm using mapping features (Openlayers model) with a Bootstrap theme based 'Tweme' in Drupal 7.2x and for now to get things working want my mapping to show full width in a simple way. I've studied the ...
0
votes
0answers
37 views

Openlayer map does not recenter upon address input

I have a similar problem like the one discussed here. I want the user to type an address which shows up on a map. When hitting "Show address on map" it should recenter and zoom in. On my node ...
0
votes
1answer
92 views

Multiple points openlayers geojson display only the last of it

I made a module retrieving data with geodata. The import feature allows to create a file in geojson. So, i'd like to display the points and the data without using Views, only openlayers module. I saw ...
0
votes
0answers
37 views

Add Webgl globe to map

I have installed ip_geoloc, openlayers and leaflet. I have got my location data. I could display all on a 2D map. How can I add webgl globe as a layer. Like this ...
0
votes
0answers
30 views

How do I use OpenLayers with two data overlays?

I am using OpenLayers with Views and Drupal 7 to create a product locator. I currently have a data overlay that can successfully find locations within the proximity defined and display it them on a ...
0
votes
0answers
46 views

Drupal 7 OpenLayers Marker as Link

I am using OpenLayers with Drupal 7 for displaying a map with multiple markers using a view. I have made a content type which has a link and a Geofield. I am looking to make each marker (the Geofield) ...
0
votes
0answers
26 views

Openlayers module need google maps search functionality

What i want is "i have created a site using openlayers map module .... and included it in my each content type with all the taxconomies for that each content type for ex. (5)....Now i have created the ...
0
votes
0answers
47 views

OpenLayers Layer Import

I've noticed that there's an OpenLayers layer for ArcGIS: http://openlayers.org/dev/examples/arcgiscache_ags.html I'd like to import that in to Drupal via the Import Layer section of OpenLayers. ...
0
votes
0answers
35 views

How can i use my own image as a basemap in Openlayers?

I'm trying to recreate something like this : https://panic.com/transmit/ (The soft screenshot with the little dots that have pop-ups on hover). However, i can't manage to make my own basemap. All i ...
0
votes
0answers
88 views

Is the has_js error message in Flag module necessary?

Update: I found that the error message anonymous users got came from Lines 30-32 of flag.pages.inc in the Flag module. Those lines of code are below: elseif ($user->uid == 0 && !$has_js) ...
0
votes
0answers
53 views

Show OpenLayers hover behaviour via anchor text in content

I have an openlayers map on my webpage with various points shown. When a user hovers the mouse over those points the node body is show. So when you hover over point A a box pops up that says: "This ...
0
votes
0answers
86 views

Does not Show markers depending on Node ID via Openlayers

I have a problem in OpenLayers Map.The name of the URL path is localhost/restaurant-dp/?q=view_map/1 , I pass node id to Open Layers Map view, I got Map ,But doesn't show markers with Map. List of ...
0
votes
1answer
77 views

OpenLayers Locator proximity search(content) and map display within tab

I got correct result when i based on search with mile and distance. Output displayed openlayer content views and map . I need to displayed result like tab view that List and Map both are tab ...
1
vote
1answer
150 views

Get JSON geolocation data into Google Maps Module [closed]

I have some JSON data with lat/lon values. I'm trying to plot these points on a google maps module. Which google maps module should I use and what is the easiest way to go about this? Thanks
0
votes
0answers
38 views

How To Create User Subscription Based on Proximity Radius To Access Content

I'm working on some ideas for Drupal content access and am curious in how I can add 'additional' subscription attributes for users to access Node mapping content (I'm using Openlayers and Ubercart) ...
0
votes
1answer
79 views

Anonymouse users can't see Openlayers Data Overlay [duplicate]

I have a map view displaying the Openlayers Data Overlay. It's displaying a list of GPS tracks from a "Map Feature" content type I made. Logged in with the Administrator, I can see all the tracks on ...
0
votes
1answer
420 views

Openlayers Feature Popups

I am trying to use the Openlayers Feature Popups module for my map. Just ran into some issues which I am yet to find a solution. Under the behaviors tab of the map I have tried to adjust the ...
0
votes
0answers
38 views

Drupal 6 Openlayers proximity filter in Views returns empty distance

I hope you can help! In my content type I have a Openlayers Geocoder field. Ive created a bunch of nodes of this type each with a place located on the map- and consequently found a lat & lon ...
0
votes
0answers
88 views

openlayers editor not loading

I'm setting up a site with cartaro and I've installed the openlayers editor module but it doesn't seem to be working. I manually downloaded the ole js library as described in the installation ...
0
votes
1answer
46 views

Center the open layer map when in edit mode

i setup a map with openlayers, geofield, addressfield and geocoder. I added a geofield to a node, with openlayers as the widget type, and use geocoder to get the geocode from addressfield. when ...
3
votes
1answer
182 views

How to get location (longitude and latitude) from json data show on map?

I am using Openlayers module to have a map. In my json, it has longitude and latitude field. I want to get them to show on map so that user can see the location with the marker. Is there any way to ...
1
vote
0answers
36 views

Unsure how a block has ended up on a page

I've inherited an old drupal 6 site. I'm 2 weeks into understanding the whole drupal system. I have a page which loads a branch locator map. It looks as if the map is a block created with ...
1
vote
0answers
101 views

Show markers depending on Node ID via Openlayers

I have a situation that seems very easy, but i can't get it to work. I have a content type called 'countries' which hold all the countries. I want to display a map per country with the borders ...
1
vote
1answer
175 views

How to highlight location on an OpenLayers view

I have a view of locations displayed with OpenLayers. The map, with plot points, is displayed in a left column, and rows of the locations are displayed in a right column. When a user clicks on one of ...
1
vote
0answers
87 views

getlocations-like module for data input and geocoding

It's been a while since I created my last map in drupal and I would like to know if there's a better solution for storing information that the formula I've been using: a geofield geocoding from ...
0
votes
1answer
210 views

Openlayers is not showing markers

I'm using openlayers module with geofield. The markers are showing fine on the views preview and all looks good. but when viewing the display page through it's path the markers don't show. Any ideas ? ...
0
votes
2answers
326 views

custom module js loaded before the module which it depends, Drupal.behaviors

The "Drupal.behaviors" doesn't behave as "document.ready", if I use a document.ready I will have the correct map but if I do a Drupal.behaviors, there will be an error related to the openlayers ...
0
votes
1answer
468 views

Trigger a pop-up or recenter in Openlayers (version 7.x-2.0-beta5) from outsite the map

Is it possible to trigger the pop-up of a marker or center the marker in an Openlayers map through an anchor-tag outside the Openlayers map. Example: Create a view that lists some nodes Click on ...
0
votes
1answer
124 views

Make Openlayers center & bounds context aware

I'm creating geospatial database for multiple municipalities. Each should be able to work in it's own context (not only see only own data, but also have custom center & bounds for input and output ...
2
votes
1answer
212 views

Dynamically change widget type in node edit form

I have a content type with a geofield. I'm using an Openlayers Map as the input Widget. The map allows the user to place a marker and it populates the geofield with the lon/lat coordinate. In some ...
1
vote
0answers
244 views

How to add a new map supports (Baidu map) for openlayers?

Our customer wants to use Baidu maps in their website and my pm assigned this task to me. I found that the OpenLayers module has good expansibility and I just need to add Baidu support. Has someone ...
0
votes
1answer
53 views

Is it possible to turn on/off two layers at once with the openlayers_plus module?

Using the BlockSwitcher module that comes with the openlayers_plus module, is it possible to create a button that turns on/off two layers at once?
1
vote
2answers
227 views

Unable to use a hyphen in a Drupal 7 text field

I've got a simple field of type "text", widget = "text field" (Drupal 7). I am able to use special characters like &(%, but when I try to type a hyphen, there is no result. I can use a rich text ...
1
vote
1answer
536 views

KML file upload on OpenLayers map

When I tested modules in Feb I am sure I got this working but nothing works now; I want the user to be able to upload a KML file when creating a node, and for that to display on a map. I am not even ...
1
vote
1answer
430 views

OpenLayers Data Overlay Filter

I have an OpenLayers View created to display products at various locations. I have some locations that don't have any products yet; therefore, should NOT be displayed. My page view filters these out ...
0
votes
2answers
156 views

Proximity for OpenLayers

It has a bug that keeps dumping errors to the logs. There is a patch, but the patch removes the distance field. The module isn't maintained. Does anyone know of other modules that can be used with ...
0
votes
1answer
115 views

Open Layers Views - Separate Data on Page and Block

I have a typical OpenLayers Locator proximity search on Drupal 7. I can search a map for my locations and that works great. I also have a Product content type that is referenced to my locations. ...
1
vote
0answers
124 views

Openlayer map should highlight marker when a user hover on the views row attached to the map block display

There is already one example for Gmap module (http://drupal.org/node/1108302). But I need that for Openlayers map
0
votes
1answer
352 views

Is it possible to create multiple layers in openlayers using one view with contextual filter?

I have 10~20 content types and need one layer for each content type in openlayers. Is it possible to create one view with one openlayers data overlay, and use contextual filters to provide the 10~20 ...
3
votes
1answer
104 views

Openlayers Scalability suggestions

So, like everyone, when I came accross the requirement to incorportate maps into my Drupal site, I googled for solutions and that pretty much led me straight to the Openlayers/Geofield solution. Not ...
2
votes
2answers
631 views

Custom form: How to implement a module's field widget

In my custom form I have a file upload, which follows the array structure of file_element_info() in file.module in core. This is consistent with examples in examples module and date module has ...
0
votes
1answer
181 views

Show Distance in table from openlayers

So I followed the instructions from this thread; Need a simple Google Maps solution; lost in the labyrinth of modules. I've gotten everything to work how I need it on my test server a few months ago. ...