Questions tagged [google-maps]
Use it for the web mapping service application and technology provided by Google.
237
questions
1
vote
0
answers
24
views
Widget Field Changed VIA Javascript is empty in AJAX callback
So I am using the Geolocation module, specifically with the google maps API. I have a geolocation field. This field is unlimited to allow for adding multiple points to a map. This all works fine.
I ...
0
votes
0
answers
20
views
Using Geofield, how do I create links that would center the map on required point?
This appears to me as a rather basic requirement, but surprisingly enough, I can find no information on how this can be done.
You know how when you search something on Google maps, apart from just a ...
0
votes
3
answers
2k
views
Google API callback doesn't work
I've created this javascript (delivery.js) that is supposed to take a pre-existing div on a webform page and append a Google Map to it, along with a few circles of differing radius.
Here is my ...
0
votes
1
answer
165
views
Geofield map : add marker on click listener
I've added a google map which I feed thanks to the Geofield module.
I'd like to add an onClick event to each marker to have a custom behavior.
this is what I've done this far :
Drupal.behaviors....
-1
votes
1
answer
357
views
How can I update a map to display view results with an exposed filter? [closed]
I want to use a view to render locations on a map, and dynamically update the map when a user filters the locations.
I have a view that displays a list of "Location" content types. That view ...
0
votes
0
answers
237
views
How to recenter a geolocation google common map in views after an ajax boundary filter execution?
On Drupal 8.97 with all updated modules, I have a View that uses a Geolocation Google Common Map as an attachment. The map acts a boundary filter, but after the filter executes Drupal.ajax(...
1
vote
1
answer
183
views
How to create a google map block to display number of nodes for a content type
I have a content type "Houses".
I added 3 nodes as follows.
Node 1 for county X and state A
Node 2 for county X and state A
Node 3 for county Y and state B.
I like to create a google map block ...
0
votes
1
answer
85
views
How to use CiviCRM contact data latitude and longitude in drupal gmap formatted view
Environment
Drupal 7.67
civicrm 7.x-5.13.4
GMap Module 7.x-2.11
Location 7.x-3.7
Views 7.x-3.23
What is working
I have CiviCRM contact data for organisations which has been successfully geocoded ...
1
vote
1
answer
178
views
How to add google maps js without breaking jquery?
So, I'm trying to implement a custom map using the Google Maps API in addition to a Google Map view. I'm working with an up-to-date D7 install. The reason for this is that I need to have multiple ...
0
votes
1
answer
100
views
Geofield Map marker NODE ID
I have on Drupal 7 a Geofield Map Views that show a list of "Source" content on a Google Map.
I want to add on my marker on the map the information about the NID of the "Source" and I don't know how ...
-1
votes
1
answer
75
views
Optimize on the huge number of markers
I have more then 8000 markers on a Gmap view, using clusters (markerclusterer.js) , and I have a loading time 16 seconds.
How can this be optimized? The view is cached, Drupal is cached and ...
0
votes
0
answers
114
views
Recenter GMap map after show/hide
I have Drupal 7 GMap based map, with many markers. I want to hide the map on windows load, an initialize on click. My problem is: after display map, she don't remember coordonate of center, and map ...
0
votes
1
answer
29
views
Clustered Google Map
I'm new in drupal(2 days), never used it before. I have taken over this site knowing nothing about it and right away got new assigment to create clustered looking map and markers should be put from ...
0
votes
1
answer
351
views
Drupal Google Maps clustering of nodes.
I am trying to find a way I can cluster nodes on a Google Map from a custom entity according to particular regions in a country. I have been using the Geocoder module to geocode addresses but I now ...
1
vote
1
answer
867
views
Geofield Map - Filter attachment result by clicking marker
I'm facing a problem with geofield map and I can't find a solution. So I have a view with a geofield map format. There I show all nodes from one node type as markers.
Under my map I have an ...
1
vote
0
answers
238
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 ...
0
votes
2
answers
98
views
Create a Gmap with Views that connects locations of different nodes
I am looking for a way to make some sort of roadtrip website.
The idea is to use two node types: a parent nodetype "Roadtrip" and a child nodetype "Day". The user can create a Roadtrip and add a ...
0
votes
1
answer
76
views
How can I get a GMap Marker field to be a target in my Feeds importer?
I have site that needs to import a CSV of hundreds of locations to be displayed on a GMap. I have set up an importer in the Feeds module that successfully imports a CSV containing Title, address, ...
0
votes
1
answer
572
views
GMap Module, How do I make my map change its marker icons faster/without hang?
A bit of a newbee, but I have a somewhat complex issue.
Background: I am creating a map for a client, with a filtered list beneath it. when they click one of the categories at the top, the list ...
1
vote
2
answers
1k
views
Geolocation Field - Map Marker in Views
I'm trying to show a map with multiple markers with the help of Views and Geolocation field. It would be nice for example if I can show the image in the tooltip display of the marker. But when I add ...
0
votes
1
answer
850
views
Geolocation Click Marker Event
I'm using a Geolocation Fields View with Drupal 8 and need to manipulate the Style of the Marker Info Window.
there is no class to style the pop-Up-window for the Info Text.
The Info Text has a class ...
0
votes
1
answer
25
views
GMap Activation Error
I have run into an odd error with my gmap module where I allow users to use the map to choose the location (rather than enter coordinates, they are allowed to enter an address too of course) but back ...
2
votes
2
answers
2k
views
How to create new markers into a Google map with click?
I want to add a marker on click event and add it into exact location where user clicked on map.
Can't use any of the official examples which eventually return nothing.
My current module specific js ...
0
votes
2
answers
431
views
Rendering a 'google_map_field' when referenced via entity reference field
I have a content type with an entity reference field to another content type. We'll call the first content type A, and the other B.
In my node level template for A, I need to output a ...
2
votes
0
answers
34
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 ...
1
vote
0
answers
60
views
Add Tracking Code in Gmap view ?
I have a view white a gmap and foreach Marker a link with tel number.
And I want add tracking code on this link.
I add class on my link like this:
<div class="gmap-popup">
<h3>Marker ...
1
vote
2
answers
2k
views
Geolocation Field Oops! Something went wrong
I'm using Geofield Gmap as Field in a Content Type. Each time I try to create/Add a node, the (Geofield) field display the below Error message
"Oops! Something went wrong this page didn't load ...
3
votes
1
answer
104
views
How to create a Gmap view that can be filtered?
I have a taxonomy vocabulary that has a multiple terms.
I can create a view that shows the location of all terms in a map, but I want to filter these locations by term. I mean the user first chooses ...
1
vote
2
answers
207
views
How to override the ['search_distance'] in Location: Distance / Proximity Views in a custom module
After looking at the location module. I couldn't find any way to override the 'search_distance' parameter by creating a custom Form.
dose anyone know how to override this variable by using a custom ...
0
votes
1
answer
45
views
How can i integrate geofield module in entityform?
Actually i have to add multiple locations in a form of a route and show it after the submit button in a single map using geofield module. How do i do that???The map should locate multiple markers ...
2
votes
1
answer
2k
views
How should I add multiple markers using geofield module?
Whenever I set the module with unlimited values there are more the one maps with location. However they show the location which I want, but in two or more different maps.
My problem is I want to ...
0
votes
1
answer
25
views
Hide the actual location of a node on Views with GMap Module
What I'm trying to achieve is to hide the actual location of a node, either by replacing the marker with a circle, overlaying or inserting a radius(circle) around the actual location. Tried to do this ...
0
votes
0
answers
33
views
Problem with css spriting and blocks
I have a block with a google_maps map and it was all working fine until I try to use a sprite as icon. I know how to use sprites as I already used them in others pages of my site.
I think the problem ...
2
votes
1
answer
345
views
GMAP views: Use marker field
I have a working GMAP view and I'd like to customize the markers basing on a list field.
I can't find documentations about this feature, in the settings of my view I setted
Marker Handling--> Use ...
2
votes
2
answers
365
views
Map does not show up
I am creating a new custom block; when I put HTML into the body and select Full HTML as text format, it gives me only the source code back. What might be the problem? This is a full HTML link I get ...
1
vote
0
answers
121
views
Add an overlay to the Google maps for Geolocation Field module
I have installed the Geolocation Field module, and added a Geolocation field to my content type. I have chosen Geolocation Google Maps in the Manage form display, so you can have your map, click on a ...
1
vote
1
answer
152
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 ...
2
votes
1
answer
959
views
Change the google marker icon on Geofield module
I need to change the default google marker icon on geofield displayed in my view for a custom marker. I tried adding style google map module but it didn't work. Any idea how to do it?
4
votes
1
answer
2k
views
How to get a dynamic Google map with filtered views and show a marker related to the selected item?
I plan to create a real estate agency website. In the front page, users can select the type of contract and specific other things to get a list of all the nodes that fit those criteria. So the result ...
1
vote
0
answers
96
views
Gmap not loading when zooming [closed]
I have a weired issue and no idea how to address it. I use a block view on my front page that displays a gmap. When the page loads the map is displayed correctely. When I zoom in or out the map doesn'...
3
votes
1
answer
64
views
Taking node map from /map/node and using it on home page
I need a google map block which would show all the nodes' location with markers. I noticed that Location module has this built in if I follow /map/node url. My question is, can I somehow take this map ...
3
votes
1
answer
101
views
Map Proximity - Modify markers
I want to build a map that has multiple control selectors above the map. When one icon is selected, it prints the relevant markers all over the globe on the map.
If one of the control selectors ...
0
votes
1
answer
108
views
How to make a map black and white? [closed]
I created a view (using Views) which shows node locations in a map using Location and Gmap modules.
How can I make map black and white?
0
votes
1
answer
34
views
GMap shows on page inspect
I am using GMap Module (in Drupal 7). Map does not show on page load, but when I inspect the web page, map shows up.
I tried reinstalling module but in vain.
Map shows in GMap Configuration, but on ...
4
votes
2
answers
8k
views
Pass node field value to view filter in a block
Background
For the node type article I want to display a block view of map markers generated from a content type called sted (places). For the content type article I have made a entity reference ...
0
votes
1
answer
47
views
Conditional Fields module with Google Maps
I'm trying to initially hide a geofield created with Geofield module using Conditional Fields that uses the Geolocation Field Google Maps Input Widget.
If I click on one of my conditional fields to ...
1
vote
1
answer
87
views
Create Linestring Between 2 Points
I have a series of letters, each with a recipient and sender address stored with Addressfield, with spatial data added Geocoder into lat/long and stored in a Geofield. I'm using IPGV&M, Views, and ...
0
votes
1
answer
57
views
How to make dynamic google map in block?
I want to make block with two links that lead to different gmaps position. Also gmaps is in that block.
So, block haves address text with two location and by clicking on that location i want that ...
1
vote
1
answer
419
views
Google Store Locator
I have installed this module on a clean Drupal 7 installation. But I can't activate the Google API. I have added the API key in the GEOCODE field. But I still get the error.
Also I got a blanc screen ...
2
votes
1
answer
779
views
Gmap cluster different marker types seperatly
I created a Gmap with the Gmap module and views. There are two different marker types, based on different Gmap marker fields in the used node types.
The markers are clustered with GMaps Utility ...