Questions tagged [jquery-gmap3]

gmap3 is a jQuery wrapper for google maps API v3. For people who are used to the jQuery way of javascripting, gmap3 provides an easy-to-use interface for google maps API v3.

is a jQuery wrapper for google maps API v3. For people who are used to the jQuery way of scripting, gmap3 provides an easy-to-use interface to google maps. An example of gmap3 usage could be :

$('#map').gmap3({
  marker:{
    latLng:[29.132318972825445,81.32052349999992]
  }
});

As other jQuery plugins, gmap3 supports multiple selectors and chaining. gmap3 encapsulates most of the google maps features, such as polylines, polygons, markers, circles, infowindows and more. Besides that, gmap3 offers some nice add-ons such as context menus, panels and clustered marker management.

home of gmap3 -> http://gmap3.net/en/
source on github -> https://github.com/jbdemonte/gmap3

212 questions
2
votes
1 answer

Gmap3 Google Maps using a geocoded location to center the map

I am using Gmap3 http://gmap3.net/ to calculate customer location from stockists of products. I can pull the addresses of the suppliers off the mysql db ok using php, but im not sure how to go about using the geocoded address in the first part to…
Iain Simpson
  • 441
  • 4
  • 13
  • 29
2
votes
1 answer

Populate Google Map Markers using MySQL, JSON and jQuery plugin Gmap3

I have problems to display markers which data I pull from a MySQL database. The JSON format is not right, although the JSON is valid. I guess there are at least 2 approaches to my problem, 1. to alter the MySQL query or 2. to manipulate the JSON…
caratage
  • 25
  • 4
2
votes
1 answer

How to center the Google Map NOT at the center of the screen?

I have a site based on Google Maps (using gmap3), which has markers and a floating widget above it, that contains a text about the active marker. This floating widget takes about half of the screen. The map is automatically centered (or panned to)…
yann
  • 25
  • 1
  • 5
2
votes
1 answer

gmap3 markers into a cluster at the same position

On gmap3 when you have multiple markers with the exact same location, no matter how deep you zoom in, you won’t get a chance to see markers. If you remove clustering on a certain zoom levels (or remove it at all), you’ll see only one marker…
user2477591
2
votes
1 answer

Adding Autocomplete input in plugin gmap3 by jQuery

I want add Autocomplete input in plugin gmap3 that after click on address move marker on it place and get latitude and longitude, but i can not done it. i tried as: Demo: http://jsfiddle.net/ezJUm/
jennifer Jolie
  • 727
  • 6
  • 16
  • 30
2
votes
1 answer

Error while display map via gmap3

I am working on to display the map on my web screen. but facing some Error while displaying it. Error :- TypeError: $("#driver_map").gmap3 is not a function Code :-…
V.J.
  • 9,492
  • 4
  • 33
  • 49
2
votes
1 answer

How to pass ID parameter to context menu

Please help me with this. I am creating a right click context menu on a map marker. See here - http://jsfiddle.net/WEZVX/2/ I need to pass the markers 'id' parameter to the items function. see lines // add menu item menu.add('Request Update',…
Vince Lowe
  • 3,521
  • 7
  • 36
  • 63
2
votes
1 answer

Getting a list of markers with jQuery/gmap3 when using the Directions service

I started using the gmap3 jQuery plugin today and I'm having issues with getting a list of markers. As long as I add all the markers manually (with addMarker or addMarkers) all works well and the: .gmap3({action:'get', name:'marker',…
userfuser
  • 1,350
  • 1
  • 18
  • 32
2
votes
1 answer

google maps/gmap3 - plotting a route to a known destination from a user's geolocation - help needed

i'm trying to write a script that will get a user's geolocation - if they have it enabled, and plot a route to a predefined destination. if they don't have geolocation enabled, it should just plot the predefined location. the script isn't working,…
MattSull
  • 5,514
  • 5
  • 46
  • 68
2
votes
3 answers

How to remove rendered route using gmap3 plugin?

I use GMAP3 plugin to render driving direction. And would like to add a clear button so it can be clear but I haven't been able to find the right syntax in GMAP3. Here is the my js code, modified from the sample in gmap3.net. I have markers…
KYLO
  • 93
  • 11
2
votes
4 answers

init gmap3 using geocode

I am new to gmap3, is it possible to init the gmap3 using a place address? I know generally it is done with latitude and longitude. I have done markers with this this location name using this example. I have already gone through this example too,…
arjuncc
  • 3,227
  • 5
  • 42
  • 77
1
vote
1 answer

gMap 3 and jQuery DOM access in infoWindow

I'm working on a custom interface for an social web application and I'm using infoWindows to display information about pois. Now I want to give the user the possiblity to edit some of the pois information and save it. My problem is, I can't access…
Chau Thai
  • 313
  • 3
  • 14
1
vote
0 answers

Fading in overlays onload with GMap3 jQuery plugin

I'm struggling to access the contents of an overlay once it is added. I add an overlay that contains, say, a div with a particular class. If I later on try to amend the CSS of this class with jQuery, nothing happens. Ultimately what I want to do…
rhiaro
  • 175
  • 2
  • 11
1
vote
2 answers

Adding ancor point and icon size to map marker with gmap3

I am using gmap3 and have added custom pins and pin shadow to my map, but I am having problems in getting the icon and the shadow to align. My code is: marker: { options: { icon: '/media/pins/pin.png', iconSize: [26, 30], shadow:…
Christoffer
  • 7,436
  • 4
  • 40
  • 42
1
vote
1 answer

GMap 3 - driving directions in popup window

I'm using the context-menu for GMap3 plugin to show the driving directions. The directions are displaying correctly. However, I would like the results of the driving directions to appear in a popup window, instead of on the same page. My guess…
Steve
  • 23
  • 3
1 2
3
14 15