gmap

Events happening in the community are now at Drupal community events on www.drupal.org.
pkej's picture

Howto: Creating user friendly mapping for non-drupal nerds

New version here

This howto will help you create a simple method for your clients to add locative information to a travelogue. I've been fiddling with a lot of options for doing this, including using feeds with gmap macros. Though gmap macro feeds have the advantage of offering specific marker types for the different feeds, I ended up using a method which does away with that feature, but gains tremendously in useability, due to the fact that the writer doesn't need to know the exact feed syntax and gmap macro syntax to make it work.

Read more
rcross's picture

User Map

Hi,

I'm using the gmap module for generating a map of user locations, but I'm getting a weird error on the map. It says :

warning: array_intersect() [function.array-intersect]: Argument #1 is not an array in /var/www/html/cms.projectpier.org/sites/all/modules/gmap/gmap_location.module on line 96.

Can any offer some help? I noticed in the locations table there were some errors with lat/long = 0.0, so I deleted them hoping it might clear up the problem but no luck.

Read more
ebeyrent's picture

Event content type, Locations, and GMap

I am trying to create a map of node locations, but only for nodes of type Event and Event with Volunteer Timeslots. I've got Location and GMap configured with the API key in all the right places. I'm using the latest dev releases of these modules.

However, when I create a new event node with location data, no geocoding occurs. If I query the location table, I can see my node with the correct location, but the latitude and longitude fields are null.

I looked at location.module in the location_nodeapi() function. Around line 842, I see:

<?php
case 'insert':
?>
Read more
bdragon's picture

Bdragon's vision for doing locations "right" in Drupal

boaz_r's picture

Status of the gmap "marker manager(s)" and alternatives

Hi,

I've searched quite deeply the Drupal site (and other resources) and as far as I could tell, the gmap module's "marker manager" is not ready yet. It worked in v4.7 sites but not in v5.x .
Is that so? If I'm correct, what's my options for a scenario in which I have a site with a map with over 30,000 entries in it (across whole US, for example).

Read more
Anonymous's picture

Mapping in Mexico...

I am working on a large Drupal project for an anthropology program at my university, which is both a research tool (a means to enter and catalog information) and a teaching tool (anthro students can search the data and do 'virtual visual ethnography,' compiling field research to write their own paper). Anyway, cool concept, very powerful... ummm... 25,000 nodes and counting.

However, I can't map any of it easily because Google Maps has little to no road data on Mexico, and geocoding is not an option (besides, most people in these villages don't have addresses).

Read more
daboyd's picture

Does Geocoding work for nodes using Gmap?

Hi,

I am cross-posting this with the support forum (http://drupal.org/node/158052) as I didn't get an answer there. If anyone can point me in the right direction, or at least let me know if geocoding node locations is possible I'd be greatly appriciative.

Read more
mfredrickson's picture

Proposal: End of Life the Gmap Macro

Hello mappers,

I have a proposal that I think will make the gmap module stronger, but I wanted to solicit other opinions before I start writing the patch.

I recently was working on two additional gmap functionalities for a client: the first was the ability to load KML files located at an offsite URL as overlays, and the other was a "click to add nodes" functionality so that users could add images by simply clicking on their locations on a gmap.

In both cases I started trying to build my functionality as add modules to gmap. This quickly broke down as I discovered the macro processing was hard coded and not easy to work with. Additionally, I attempted to modify the gmap module itself, but again working with the macro processing was such a headache that I abandoned that idea as well. Finally, I developed these tools as stand alone JavaScript additions, with not UI in Drupal. Not an optimal situation, but I had to get these features out in a reasonable time frame.

I've been thinking about my experience since then, and I have come to the following conclusion: the gmap macro hinders development of the gmap module and prevents additional module development. Therefore, it should be discontinued in favor of a simpler, UI and data model driven alternative, similar to Views.

Read more
adixon's picture

CiviCRM group - gmap display

I have a client who wanted to display some google maps using data stored in CiviCRM. I looked at the various projects that mash up CiviCRM and Google maps and the GMap module looked like the right place to start, but the location/civinode/views mix that looked promising didn't pan out. I also noticed the discussion around 'mapthing' below, but that seemed to have died.

Read more
tanepiper's picture

Microformats in Drupal

Recently I've really got excited about Microformats and how they can be used to create content that can be aggregated around the internet.

Drupal really needs to support microformats, and I am currently planning and working on a module set that allows this. But I would like your input!

If you read the description of microformats, you can see they are set pieces of information based on existing formats such as vCard and iCal, but written in semantic XHTML, which can then be styled using CSS class selectors. You then have the choice to render them to the page, for example with an event. Or you can embed them in your site, such as linking to someone you have cited on your blog by using the rel tag i.e. XFN.

Read more
Subscribe with RSS Syndicate content