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

learn more… | top users | synonyms

0
votes
0answers
5 views

Openlayers module: geocoder doesn't work with “geocode from another field”

I have a Openlayers3 map working perfectly in a D7 project: I can manually set a point on the map in the backend and it is correctly displayed on the frontend. Now, I need to activate the option ...
1
vote
0answers
13 views

How to efficiently color countries on a map from a content?

I have various types of data-sets for 30 countries. (e.g. Population, GPD, birth numbers, etc.) What I want to do is, when people click each type for content, I want to display each data on a map with ...
0
votes
0answers
27 views

How to make an Openlayers map based on geojson layers with exposed filters?

Openlayers builds maps combining multiple layers, some of which are based off of view into a single map. From what I have experimented with, putting an exposed filter on a geojson based views, doesn't ...
1
vote
1answer
21 views

How to style/theme an openlayers map block?

I can't seem to figure out how to target the block that my OpenLayers map sits in. I've switched from a Gmap to an OpenLayers implementation, so I already know which styles I want to apply to the Map ...
0
votes
1answer
11 views

How to show more than two fields in a Openlayers popup on a views_geojson layer?

I have finally gotten my OpenLayers working, and I'm trying to show 7 fields about my points in a popup. By default, Views_geojsononly allows you to define a title and description fields for tooltips. ...
0
votes
1answer
84 views

How to fix Openlayers “Unable to load CTools exportable” errors

So, Openlayers 3.1 and 3.x Dev both have this issue. I've looked and this issue has been reported as fixed in the Drupal Openlayers issues list. The issue is that everyone of my added layers, ...
2
votes
2answers
41 views

How to set custom markers with Openlayers?

I'm trying to set my Openlayers markers to custom icons. I have looked at the Openlayers Examples, and I have added a new style of type Icon and then I have added an assets folder inside the ...
1
vote
1answer
63 views

How to add Google Maps data overlay to Openlayers map? [closed]

So, for data purposes I want to use OpenLayers for my maps presentation but I want to use Google Maps as my data overlay or base layer. I know this is possible, but the UI isn't exactly friendly to ...
0
votes
1answer
18 views

How to configure or style an Openlayers source?

I'm just getting started with Drupal Openlayers. I've created a simple map consisting of one views geojson view. What I want to know is how to customize the display of the layer, such as the type of ...
0
votes
1answer
34 views

How to convert location module data to geofield? [closed]

I need to switch my mapping implementation from Gmap to OpenLayers. I have a site with 1000+ users that already have data stored with the location module, and user locations. Is there an easy way to ...
0
votes
1answer
21 views

How to map different entity types as layers with OpenLayers?

My implementation requires the mapping of multiple entity types, which is difficult to achieve in vanilla Gmap with Views. In the documentation, OpenLayers states that layers can produced from views ...
1
vote
0answers
16 views

traslation view with geofield and openlayer

i have a view format geofield map , i have build with openlayer some positions and area on the map , in french the map is displayer with markers and area and i can have link from this markers and ...
0
votes
0answers
23 views

Unable to load Ctools exportable Map map_views_map_points_page [duplicate]

I am getting this error while making new view using open layers: Unable to load C Tools exportable Map map_views_map_points_page.
0
votes
0answers
54 views

Library isn't detected using custom version callback

I'm trying to modify OpenLayers Plus module to support newer version of jquery.mb.extruder library. This version doesn't contain it's version number in README.md file, but adds standard package.json ...
0
votes
0answers
16 views

Solid Black Polygons in Openlayers - How to change color and opacity?

I'm using the openlayers module for a map in Drupal. When I draw polygons on the map they appear as solid black. How can I change these to a color with opacity? I'm guessing this is changed at the ...
1
vote
0answers
69 views

Click on openlayers map and open a node form

I have an Opelayers map in a Drupal installation. I need to do 3 things: 1) I would like to add a behaviour on the map so when someone is clicking on it the add node form to appear and the ...
2
votes
2answers
33 views

How to theme the controls of an Openlayer map?

The Openlayers module comes with a default set of maps. It's possible to add layer templates, but it seems that the controls are always the same (see image). The controls exist of images that are ...
1
vote
0answers
81 views

Openlayers PDO PDOException: Column not found: 1054 Unknown column 'identifier'

I installed openlayers 3.X and used it a little bit. Then I uninstalled openlayers 3.x and installed openlayers 2.x. Now when I click on openlayers > maps I get the following error. PDOException: ...
1
vote
1answer
70 views

How to add a Google Maps containing GeoRss Feeds on a page - don't know exactly what module to use

I have developed a Google maps following the example from https://developers.google.com/maps/documentation/javascript/examples/layer-georss but I am new to Drupal and I don't know how to include it on ...
1
vote
0answers
65 views

Is it possible to use JS maps (Openlayers/Leaflet) in a slideshows (Views Slideshow/Flexslider)?

I have attempted to create a slideshow using Views Slideshow and Flexslider in Views, the content to be used includes a map displaying a track. The problem is that no map tiles or other layers are ...
1
vote
0answers
30 views

How set min/maxScale (or Resolution) at Openlayers map

How set min/maxScale (or Resolution) at Openlayers map I tried: a. In my module : function myoladd_openlayers_map_alter(&$map = array()) { $map['maxScale'] => 14000000; } b. ...
1
vote
0answers
50 views

How use geofield_openlayers in custom module

I'm writing a drupal custom module, in my form I need a geofield with openlayers map widget. I can create a geofield_openlayer by using Content type, but I don't know how can I create the field in my ...
1
vote
1answer
207 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
1answer
431 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.3x and for now to get things working want my mapping to show full width in a simple way. I've studied the ...
0
votes
1answer
285 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
111 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
159 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
328 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
1answer
145 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
888 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
148 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
72 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
321 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
37 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
133 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 ...
2
votes
1answer
252 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 ...
0
votes
1answer
423 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
495 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
641 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
208 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
338 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
509 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
57 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
327 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 ...
2
votes
1answer
755 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 ...
3
votes
1answer
627 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
228 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
169 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
179 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
486 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 ...