Questions tagged [jquery-ui-map]

jquery-ui-map is the Google maps v3 plugin for jQuery and jQuery Mobile

The Google Map version 3 plugin for jQuery and jQM takes away some of the head aches from working with the Google Map API. Instead of having to use Google event listeners for simple events like click, you can use jQuery click events on the map and markers.

It is also very flexible, highly customizable, lightweight (3.2kB or 3.9kB for the full) and works out of the box with jQuery mobile. But one of its best features (atleast for SEO people) is that you can populate a map from microformats, RDFa or microdata on your site, which can be used as a fallback when a user doesn't have javascript enabled.

88 questions
1
vote
2 answers

how to: when marker is clicked - dim the map and show a big div instead of an infobox on top of the map with information

I have a Google Map with filterable markers and info-boxes containing simple information about each marker( when you click them ), but was wondering if this is possible: When you would click on a marker - instead of a default info-box a big div…
1
vote
1 answer

Google Map doesn't zoom in to the bounds of the filtered/new markers using jquery-ui-map

I'm using this jQuery plugin for my Google Map. I have a small form that I use to filter my markers on the map. Markers are created using $('#map_canvas').gmap('addMarker', {...}) function of the plugin, and one of the properties I can pass when…
Bob
  • 1,355
  • 5
  • 19
  • 38
1
vote
1 answer

jQuery UI map - panTo user location

Long time reader/ first time poster here, with a question I suspect will be easy to answer but help me out no end. I simply want to i) retrieve the user's location, ii) display an icon at this location, and iii) Have a button labelled 'Find Me' that…
johninleeds
  • 13
  • 1
  • 4
0
votes
1 answer

jquery ui map update cluster position

I am building a googlemaps web application that has a series of static markers as well as a series of markers representing staff who are "out on the field" I am able to retrieve a staff members lat, long position via ajax. But using jquery ui map v3…
jaget
  • 2,149
  • 6
  • 21
  • 29
0
votes
1 answer

jQuery UI Map V3 - Localized response

Is there any way to get a localized response with jQuery UI Map V3? I mean, when I use search method to find a location, the long_name value is returned in English. On API docs I can't find any reference to a locale param or something similar. Do…
Juan G. Hurtado
  • 2,057
  • 16
  • 25
0
votes
2 answers

filterable jquery-ui-map google map

i need to filter my google maps markers. right now, i generate a map with the help of the jquery-ui-map plugin. this is my markup:
0
votes
1 answer

Adding an overlay using jquery-ui-map

I am using http://code.google.com/p/jquery-ui-map/wiki/jquery_ui_map_v_3_tutorial The documentation is pretty poor when it comes to overlays. What is the recommended way adding an google maps overlay using jquery-ui-map? My use case is having an…
user2665694
0
votes
1 answer

jQuery-ui-map not displayed when navigating from other html file

This is my first question on stackoverflow, so be gentle :) I'm making a mobile web application with jQuery, jQuery mobile and the jQuery-ui-map plugin. The map works perfectly when I refresh the file where it should be displayed (map.html), but…
Sindre
  • 3,880
  • 2
  • 26
  • 39
0
votes
1 answer

How to close any open InfoWindow's using jquery-ui-map (Google Map v3 plugin for jQuery)

The user has markers loaded depending on where they select their location. The markers are cleared when a new location is chosen. If I have an InfoWindow open when I clear the markers, it stays open even though the marker goes away. I want any open…
Austyn Mahoney
  • 11,398
  • 8
  • 64
  • 85
0
votes
1 answer

Delete/move Google maps marker (jquery-ui-maps)

I want to remove one marker from my Google Map, but I can't seem to get it to work. I find various answers, all telling me to use .setMap(null) on the marker, but I can't seem to get it to work. $map_canvas = $('#map_canvas'); var…
Martijn
  • 15,791
  • 4
  • 36
  • 68
0
votes
1 answer

Get all markers in Google Maps v3 Jquery

Google Maps v3 JQuery introduced the following way to get markers: $map.gmap('get', 'markers'); I'm trying this, but getting an empty array. Here's the code I'm working with: var smap = $('#smap'); $(window).load(function() { /* Initialize…
skippr
  • 2,656
  • 3
  • 24
  • 39
0
votes
1 answer

jQuery Ui Map - Use gmap method more than one time

I am working on Map filtering and I am using jQuery Ui Map plugin. And for filtering, I am using below code : $('#map_canvas').gmap({ 'center':new google.maps.LatLng(43.730531,-79.416927), 'callback': function() { $.getJSON( 'path to json',…
0
votes
1 answer

Filtering using jQuery Ui Map

I was using older version of jQuery UI Map.So at that time Filtering was working perfectly.Below code I was using for older version: $('#map_canvas').gmap({ 'center':new google.maps.LatLng(43.730531,-79.416927), 'callback': function() { …
Twix
  • 387
  • 3
  • 15
0
votes
1 answer

jquery ui map clusterer markers aren't displayed

I'am using jquery ui map, i'am loading markers from geoJSON and then i want to clustered them but i can see markers but not cluster. My code is the following : $('#map_tracks').gmap({ 'center': '45.752051,6.295604', 'zoom': 12 }).bind('init',…
user3533235
  • 155
  • 11
0
votes
0 answers

jQuery UI Map show street and city names

In Google maps, just below the Map and Satellite view selectors, there is a tick box where you can turn labels on or off. Can this be done in code? This is my working code which is on jsFiddle http://jsfiddle.net/nbauers/2Dnwa/1/ Is it as simple as…
nbauers
  • 199
  • 1
  • 5