Questions tagged [location]

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

Filter by
Sorted by
Tagged with
2
votes
3answers
2k views

Post user location to a map

I am building a site where people can log power failures in their area on a google map in Drupal 7. I want to be able to have my site users register their location on their profile. This seems pretty ...
1
vote
3answers
958 views

Mark location on Gmap without Click on gmap

I am using Location + Gmap module. When creating a content user have to mark location on gmap. I want to to mark location on gmap automatically when user enter the values in location. I enabled ...
0
votes
1answer
399 views

How do I use Views Global Filter with Geofield 2.x Exposed Proximity Filter?

I am trying to set it up so that a views global filter https://drupal.org/project/global_filter can set the distance and city for the proximity filter for Geofield? What are the steps to do this?
0
votes
1answer
109 views

How to make filter that can find users by location of each other in miles or kilometers?

On a lot of dating sites like this one: http://www.pof.com/basicsearch.aspx users can search each other by proximity, can this be done with Drupal? Like searching for users within X kilometers of ...
2
votes
1answer
3k views

How to implement autocomplete for address field using google places/maps api? [closed]

When using Eventbrite event creating form, i noticed their address field has an autocomplete feature powered by Google. Is there a Drupal module that does something similar ? Demo link on Google Code
2
votes
1answer
895 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 ...
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 ...
0
votes
1answer
576 views

Let Gmap center on the users geolocation, but still load all the node markers onto the map

For a website I am building I have a used a map to display all the nodes inside my country, by using a view. When the map is loaded, it shows the whole country (by standard settings in the Gmap module)...
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 ...
1
vote
0answers
116 views

Can conditions be attached to how a Geofield is populated?

Some of my nodes will be created via Feeds, which will import lat/long data, which I can store in Geofield to pass to Leaflet. However, some of the feeds I am using do not have lat/long data, so I ...
1
vote
1answer
16k views

Automatically fill in “City” field when “Postal code” is entered

I encountered a problem that has been discussed many times but for which no solution has been written down yet. This is about Drupal 7. On my node add form, I have an "Address" field; a field ...
-2
votes
1answer
388 views

User taxonomy by location

I am trying to add taxonomy to my user location. User A lives in Berkshire, UK, User B clicks at "berkshire, Uk" in Profil of User A and get a list of all Users who lives there. For example look at ...
1
vote
1answer
2k views

Redirect visitor based upon geolocation

On a Drupal website I want to redirect the visitor to a landing page based on the users location. I need this to be more specific than just the users country, but rather I need the province inside the ...
1
vote
1answer
186 views

Country specific nodes

Let's say we navigate to http://example.org/ch/de/node/1 (with pathauto enabled /ch/de/hallo-welt) Now I want to specify somewhere the country Switzerland (ch) and set the available languages to de (...
1
vote
1answer
339 views

Bulk operations: Taxonomy: Save

I am just looking to do a bulk save on a bunch of taxonomy terms - need to trigger an update on a geofield - but there is no Save option in the bulk operations for Taxonomy Terms (as there is for ...
0
votes
1answer
958 views

How do I import latitude/longitude into geofield?

I have a CSV file with a id column, a latitude and a longitude column, and some other data in each record. I have created a content type to hold this dataset. Each record will be mapped to a content. ...
5
votes
1answer
1k views

Reverse geocoding (country) from geofield with coordinates

is there a quick way to do a reverse geocoding from a geofield field containing geographical coordinates? I just need the country name, so I wonder if there is some service with more allowance than ...
5
votes
1answer
1k views

How to show directions on a map when using the Geolocation Field module

I installed the Get Directions and the Geolocation Field modules. The Geolocation Field module displays a map, but I also want directions. How do I get the directions shown on a map? Do I need ...
1
vote
0answers
270 views

Embed Google Earth Flyover using KML or route

Geofield, Openlayers with KML layers all great and am really loving how well this is all put together on Drupal. Question: on the site http://www.mapmyfitness.com they are using a Google Earth plugin ...
1
vote
0answers
168 views

Device Geolocation doesn't work using multiple subdomains

I am using the module Smart IP and in particular its sub module Device Geolocation to detect the users position. The latter uses the method navigator.geolocation.getCurrentPosition(success, error) ...
3
votes
1answer
560 views

Geofield Display Format Data Options (Using Bounding Box)

I am using Geofield to store point and polygon features. Input works fine with all the different widgets I have tried. Display formats (GeoJSON, WKT, KML) with Data Options "Use full geometry" and "...
0
votes
1answer
268 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. ...
2
votes
1answer
226 views

Best practice to separate content per city

I'm trying to find the best practice to separate user content per country/city in a way that allows the user to select the country or city once so that whenever he adds content it will be ...
3
votes
3answers
5k views

Use GMaps with just one country

I would like to have a map on my website displaying all my stores. That worked out pretty well except for the fact the map is displaying more then just my country. Is there a way to just show one ...
0
votes
2answers
2k views

How to wrap content around a display suite region?

I'm using the nifty Display Suite module to create a custom layout for an event page. I'm using the stacked fluid 2 column layout with the Body field on the left and the image and event fields in the ...
2
votes
3answers
3k views

How do I write to location field in an Entity?

I am having a custom entity called Micronews which has a bundle microupdate created in it. I am able to write entity to db for all fields but I am not able to figure out how to write location (using ...
0
votes
0answers
202 views

Maps can't display in one of my panel variants?

I have a strange and frustrating issue since hours, I can't find any solution: I got a node template in panel with severals panels where I use gmap views to show addresses used by node, with nid ...
2
votes
2answers
766 views

Distance / Proximity from cck location field ? not from user or node location?

I try to get a distance between cck location nodes / users but I didn't succeed at that point because the only avalaible views field to do that is "EMPLACEMENT : DISTANCE / PROXIMITY" which concerns ...
0
votes
2answers
3k views

Differences between Location and Location CCK?

Location has three modules: Location, Node Locations and Locations CCK What are the primary differences between them? Are there any advantages to using Node Locations over the Locations CCK? Thanks!
0
votes
1answer
416 views

Import latitude and longitude from XML to Location field for GMap, for Views display

From my XML data which I have imported into nodes, I have CCK fields for Latitude and Longitude. I want to import those values into Node Location so that I can have two Gmap integrations: Show a GMap ...
0
votes
1answer
479 views

Location's Distance/Proximity exposed filter without Node Location Submodule but with Location CCK Submodule instead

I would like to stay a little bit more flexible and use Location CCK fields (from Location CCK Submodule) instead of Node Locations (from Node Locations submodule) on my nodes. However, in my view of ...
2
votes
1answer
255 views

Associating Multiple Date/Location Pairs to Node

I'm attempting to create a custom content type in Drupal to represent concerts. Each concert has a title, description, and multiple dates and locations (the concert may be performed on more than one ...
0
votes
2answers
2k views

zero distance in views geofield proximity problem

I am having trouble getting it views to calculate the distance. I want a current user to see the distance to other users however the only result I have gotten is 0 between users. I tried to follow ...
5
votes
5answers
12k views

geofield proximity in views

Ive been trying to setup a view where the distance to users is stated. There has recently been an update of geofield however I am having trouble with calculating the distances to users (only get a ...
1
vote
1answer
81 views

Distance to shop long/lat

I want to create a filter where companies are able to find users within eg. 10 kilometers using users added long/lat and the company's long/lat they have added. I am using geolocation but how am I ...
0
votes
1answer
324 views

Hiding nodes based on geographical location

I am setting up a ecommerce site for a client using drupal and ubercart. They have a number of products on the site that are not available in certain countries. We have discussed solutions using ...
2
votes
1answer
241 views

Searching through nodes and outputting the details on gmap

I have a gmap that is displaying all the information of real estate listings that I put in. Now I want a text search that basically searches through the nodes and outputs the information in the same ...
1
vote
0answers
82 views

Select List to Sort Nodes by City

Looking to do something along the lines of how kijiji.ca and redflagdeals.com manages their content based on the location chosen. I'm trying to use the getlocation module but I can't really figure out ...
3
votes
1answer
426 views

Add a map for each node in a view

I am building a restaurant application which would have a search functionality, and when somebody searches of restaurants for a zip code, it would return the data. The data would be the name of the ...
1
vote
1answer
301 views

Using views to display KML of each node in respective maps for each node

I have been using OpenLayers and Geofield to try display the custom data layer (KML polygon) on the. First of all I havent been successful at it despite trying out many mays. Also I realized that the ...
0
votes
1answer
856 views

How to create a render array for a location CCK field?

The situation should be common: I have a content class with one location field; in the page view of the class I show the location on map. But, at the top of the page, I want to print the address too. ...
3
votes
1answer
799 views

Most appropriate simple IP direct for Drupal 7

Having looked at the descriptions provided for the following modules ip2cc ip2country geoip smart_ip I'm having trouble identifying which module would be the simple solution to my scenario. I have ...
2
votes
2answers
4k views

How to customize the map used on gmap module (node locations)

When gmap module and location module are installed, there is a page called "node locations", which display all node with a location field (filled) in the site. How can I customize the google maps ...
1
vote
2answers
2k views

How to use Solr Index to display node in a Google Map

For several months I am wondering how to achieve this task. I want to display information from Solr index (preferably Search Api Solr ) directly in a map. The main goal is to have a map where is ...
1
vote
3answers
2k views

How to get map widget for location selection with Location / GMap

I have GMap and Location modules set up and working. I have a working API key. The node with the location field can store long/lat or address data which I am using to populate a view. All of this ...
6
votes
1answer
761 views

Hide user fields on profile2 registration form

I am working on multi-user website with 3 roles in Drupal 7 website. I'm using profile2 module for custom fields for different users, also profile2 path for profile/user registration. Problem came up ...
0
votes
1answer
731 views

Turn location CCK 'city' field into taxonomy autocomplete field

I am using the "Taxonomize Location" module to automatically save all Location CCK Field submissions into the "location" taxonomy. Terms in the location taxonomy are saved in 3 layers: Country -> ...
7
votes
1answer
1k views

Filter view based on displayed part of an Open Layers map

I have a page that shows an OpenLayers map which is fed with data coming from an Open Layers data overlay view (user locations; the location is provided via a location cck field in the user account ...
0
votes
3answers
1k views

How to output Get Locations coordinates as a separate field?

I have Get Locations module enabled, and I would like to output the coordinates of a given location as a separate field (longitude, latitude) when displaying a given node. Somehow like this: GPS: 45° ...
3
votes
4answers
2k views

Views exposed filter error “An illegal choice has been detected. Please contact the site administrator.”

I am having a very odd problem with an exposed filter in one of my Views. The page I am talking about is here: http://epsindustry.org/eps-packaging-map2 When I select one of the last 2 options in the ...

1
3 4
5
6 7