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

learn more… | top users | synonyms

0
votes
0answers
17 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
15 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
11 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
41 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
19 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
36 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
14 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
25 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
24 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
25 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
26 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
27 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
72 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
35 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
80 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
62 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
128 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
35 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
50 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
277 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
30 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
36 views

Can I use Openlayers Features to dynamically filter or pass content to another view?

I am using Drupal 7 and OpenLayers 2.x I wish to have a view (or quite likely more than one view) dynamically change it's content or filter it's existing content and display based on a feature ...
0
votes
0answers
81 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
42 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
159 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 ...
0
votes
0answers
129 views

OpenLayers building map created using xyz layer and zoomify tiles shows up distorted

I'm attempting to use openlayers to display a building floor plan. I used the drupal zoomify module to create a tile set and created the map using an xyz layer. Everything works reasonably well ...
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
91 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
150 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
73 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
188 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
257 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
406 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
103 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
197 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
198 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
51 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
213 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
498 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
363 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
138 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
102 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
106 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
312 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
96 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 ...
1
vote
2answers
532 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
157 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. ...
0
votes
3answers
899 views

How to load an OpenLayers view into the content area with an AJAX link?

I have a link in the side bar that links to a OL view. I would like to Ajaxify it so the view is loaded into the content area without a page re-load. I am using the Ajax link example in the Example ...
1
vote
1answer
778 views

How to attach a view attachment display to an Openlayer Data Overlay display?

[Drupal 7, Views 3, OpenLayers] THE PROPOSED SCENARIO: I would like to attach a view attachment display before an OpenLayer Data Overlay display. The attachment display would contain some exposed ...
0
votes
1answer
1k views

openlayers toggle visibility of layer

I hope I'm not breaking any rules, but I wanted to cross-post this --- it is in the stackexchange for 'geographic information systems', but now I think the problem may be more on the Drupal side. ...