Questions tagged [location]

Real-world geographic locations can be associated with Drupal entities.

118 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
259 views

Is there existing integration between the Salesforce and Location modules?

I'm using the Salesforce module in Drupal 7 and am attempting to create a mapping to one of my content types that contains a Location module field. After looking at both modules, I don't see an ...
4
votes
1answer
1k views

Adding “Directions To” to Geofield Map

I have a content type with a Location text field and a Geofield. The Geofield is geocoding the Location field into a coordinate and displaying it to a Google Map embed on the page. This is working ...
3
votes
0answers
448 views

How to use location distance / proximity filter with facet search api

I am using location, gmap, facet api modules and I have created search page for node with facet api. I want to use distance / proximity filter for facet search but I didn't get distance / proximity ...
3
votes
0answers
322 views

Creating a custom views filter handler with a non-sql query

So, I'm working on a custom views handler that will allow users to filter based on field comparisons. I've overridden the operator to use my own function defined elsewhere in the module that ...
2
votes
0answers
32 views

IPGV&M, how do I get the geocoder to prefer locations 'near me'

For example, if the map is centred on Sydney and people enter 2000 in the 'move to' box it sends me to Portland rather than Sydney CBD which also has a postcode of 2000. The regionbound description ...
2
votes
1answer
93 views

Tracking User's Location at a certain point

I've installed the Time Tracker module. I need to track user's location when the user clicks on "Start Timer" AND when the user clicks "Stop Timer". Please help or point me in the right direction. I ...
2
votes
0answers
246 views

Plotting multiple points on a Google Map using geofield in a View

I have a content type called Installers that has addressfield and geolocation (et al) attached to it. Following the instructions found here : https://www.drupal.org/node/1944648 I was able to set up ...
2
votes
0answers
52 views

GMap Location Center - According to pin

The Gmap location field marker is located by default at the center of the map. How can change that ? I want the center of the map to be calculated according to the value that i have entered. For ...
2
votes
0answers
37 views

GeoRss feeds in Drupal 7 not displayed

I have build a map in ArcGis online containing GeoRss feeds and I am trying to display it in my website. I used the webmap module but the GeoRss feeds are not displayed. Do you have any suggestions ...
2
votes
1answer
270 views

Views Eposed filter - proximity search, include content without a postal code

I have a proximity search set up using gmap location by postal code. Using Drupal 7/Views 3. The exposed filter allows the user to filter by (taxonomy)type and/or postal code. This is what I need ...
2
votes
0answers
166 views

Show nearest locations(market, bus stand etc) of the search result(s) on Gmap Drupal 6

I am using view(style:map) to show search result on Gmap. It works fine but i need to show nearest locations(market, bus stand etc) of the search result(s). How do I do that? it is fine if I will get ...
2
votes
0answers
227 views

Best Way to Implement Location to use as separate entity and with Facet API

Floundering a little with trying to figure out the best way to do this. I have a structure where Activity is a node. Each Activity can have 1 or more Locations which I want to set up as a separate ...
1
vote
0answers
133 views

View that displays map with clustered points and Streetview option

I need to construct a map block that displays multiple location markers with the following characteristics: Markers are linked to other content on the page. Markers are clustered until you zoom in ...
1
vote
1answer
101 views

Use custom marker when specific checkbox is checked

I am building an events page. The page is using Gmap, Locations and Views modules. In the content type "Events", I have set a checkbox for "Featured Event", I want these events to stand out in the ...
1
vote
0answers
193 views

How do I configure 'proximity to address' exposed view filter?

I have a view of nodes each with an address, and latitude/longitude. I've attached a Google Maps view block which displays the pins on the map corresponding to the results in the list. I'm using ...
1
vote
0answers
33 views

Getting distance information on custom data table with Views (Drupal 7)

I am using Views to display a custom table (locations). I have everything setup properly but now, I would like to get the distance from the current user to display. I have first tried to get a ...
1
vote
0answers
14 views

User can't change their own location after registration anymore

i'm using the loaction module for user locations. At the registration form a new user has to enter his oder her location and it will be displayed in his profile. When the user tries to edit his or her ...
1
vote
1answer
170 views

Can't save location when posting node through services module

I am using services module to post nodes using rest/json. The nodes also contain images and location. So far I can upload the image and save the node, but the location is not saved. I receive no ...
1
vote
0answers
23 views

Can a node have a 'wild card' ZIP Code that matches all ZIP codes?

I am using Drupal 7.43 and the Location module 7.x-3.7. Can a node have a 'wild card' ZIP Code that matches all ZIP codes? Application: Have a filterable view return a list of nodes with ZIPs within ...
1
vote
0answers
230 views

Geofield proximity order

I would like to sort my results by proximity in Drupal 7 Views. I have already read the geofield proximity in views topic. But that tutorial is using a location provided by the user (exposed filter) ...
1
vote
0answers
17 views

Location Module Fields not showing up in search api fields

Is there a way to show location fields using the location module in Search API fields?
1
vote
1answer
57 views

How to implement facets in Views

I'm trying to implement a search function with location in Drupal. At the moment I have a base setup with a custom Content Type (Discount), which has a Geofield parameter. This gets indexed in Solr ...
1
vote
0answers
48 views

Show a block of locations based off proximity search

I've created a map, using Geofield, Leaflet and proximity search. This works great. I also wanted to add a block view on the same page that shows an unformatted list based off the proximity search. ...
1
vote
0answers
61 views

Multiple locations (longitude,latitude) in theme

I have to put multiple gmap markers in a map. The catch is... The location field is in the theme itself (longitude,latitude) no gmap module. I tried to enter 2 values separated by a comma but it doesn'...
1
vote
0answers
24 views

location module have problem with field collection it's not appearing in view

I have used location module inside field collection. If we use location as a normal field (Outside the field collection) then it will appear in both view and node details but if we use inside the ...
1
vote
0answers
22 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 ...
1
vote
1answer
732 views

Apache Solr Proximity Search and sort by Distance

I wrote a custom module to perform a search of an index I created using Search API and Search API Solr Search. The search is a proximity search that finds the closest locations using a bounding box, ...
1
vote
0answers
193 views

Gmap in modal window

I am trying to make gmap geofield which is a field of a node add/edit form to work inside a popup window. I tried ng lightbox, colorbox, lightbox and I always get the message Uncaught ReferenceError:...
1
vote
0answers
25 views

How to use long/lat OR full address in Google Store Locator module?

I wonder if there's a way to use EITHER long/lat OR full address for store content type in the Google Store Locator module. Has anyone done something along those lines?
1
vote
2answers
89 views

How to display shops near by user

I am creating a website in which I want to show the similar shops near by user location. Like if a user selects Bangalore -> M.G. Road then the similar shops near by M.G. Road should be displayed. ...
1
vote
0answers
59 views

Location module adding province to drop down list. Word not available in built-in interface for translation

I'm trying to add some provinces to the drupal location module. When I go to the back-end and manually add the province to the supported provinces list,(sites/all/modules/location/supported/) it ...
1
vote
0answers
108 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 ...
1
vote
0answers
206 views

Problem migrating Drupal 6 location fields to Drupal 7

I am currently writing a migration from Drupal 6 to Drupal 7. I am using the Migrate module (2.7), Drupal-to-Drupal migration module (2.1) and migrate extras (2.5). I have been successful in migrating ...
1
vote
0answers
113 views

Exclude from display “Re geocode” and “Delete” checkboxes

I would like to totally exclude from rendering "Re geocode" and "Delete" checkboxes of the "Location" module: - I searched for an option in the configuration sections of my installation of Drupal and ...
1
vote
0answers
129 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
0answers
27 views

Creating a Block view for Other nearby stores

I want to create a block to display all nearby commerce stores . I have setup a view of type commerce store . Inside the View I have displayed fields. In contextual filter "WHEN THE FILTER VALUE ...
1
vote
0answers
65 views

How to show appropriate country name in location module in multiplanguage sites?

Neither with i18n nor with entity translation switcher the country names are correct. E.g. in a German/English site the country names should be Deutschland and Germany when the language is switched. ...
1
vote
1answer
123 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
80 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
0answers
66 views

Latitude/Longitude processing to avoid Null Island entries

I have to display some 8k points on a map rendered by a view on my site. Since those locations will be updated quite often i decided to use a custom entity (lets call them "Structures"), so i could ...
1
vote
1answer
251 views

How do I show the weather block based on Geofield on a Taxonomy Term

The Weather module has a block to show weather based on IPs on a node defined by the geofield module. There doesn't seem to support if it is on a taxonomy term. How can I modify this code to support ...
1
vote
1answer
513 views

Fixing identical Latitude/Longitude data for markers on maps (bug)

I have a Drupal 7 project that I want to add location information (latitudinal/longitudinal) to most of my content types. Currently I have noticed that if there are multiple nodes that are shown on a ...
1
vote
1answer
35 views

Different rankings in a view based on geolocation

I'm currently building a site which has a ranking table. I'd need the rankings to be different based on geolocation so what i'v done so far is building a different view for each country. So the ...
1
vote
0answers
16 views

ge7Locations-7.x-1.13 does not show in the modules administration in Drupal 7.31

Installed getlocations-7.x-1.13 on the sites/all/libraries/ but it does not show in the modules or administration/configuration/services what to do? Thanks
1
vote
1answer
521 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 map....
1
vote
0answers
909 views

open pop up window on map marker from outside map canvas after click an anchor tag in drupal 7 using gmap, location

I have installed location module, gmap module and views created nodes of article type say 5 node with their location filled in. created a views selecting gmap as display. my nodes are listed on maps ...
1
vote
2answers
103 views

Need a solution to search by sales person based on unique territory

I've been researching for hours for a solution, but I can't find a module or example of someone else needing this feature. I have a list of 20-ish sales people, each person is assigned a range of ...
1
vote
1answer
59 views

Machine readable coordinates to Geofield

I got a long txt file full of cordinates. Like this for every line; {"RT**n":"*****","RT**o":"*******","WGS**_lat":"******","WGS**_lon":"******" } There are numbers, I just hide them since this is ...
1
vote
0answers
502 views

Update existing data in a content type from JSON file in Drupal

I have to import Latitude and Longitude data in to a Geofield that was added to an existing Content type. Source Info The json feed contains a lot of data fields including the Longitude, Latitude ...
1
vote
0answers
198 views

How to save lat/lon of author's location with node

I have a public node creation form that unauthenticated users will submit. I want to save the visitor's geographical location with the node that they create. I imagine capturing their lat/lon and ...