Campus Map Drupal + Google Maps

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

I promised a few people at DrupalConSF I would post this example of a multi-campus, searchable campus map. It works great with events or a "Places" Search.

Campus Map Overlays

http://beta.gr-3.net/map-api?campus=s
http://beta.gr-3.net/map-api?campus=n
http://beta.gr-3.net/map-api?campus=c

Searchable node (typo fixed)

http://beta.gr-3.net/map-api?campus=South&node=712

Comments

What module did you use...

rosemeria's picture

Besides gmap and location modules, what module did you use to create the nice overlay?

Rose

Overlay

gary.evans's picture

For the overlay I wrote a custom js singleton and contributed to google labs here:

http://code.google.com/apis/maps/documentation/v3/demogallery.html?searc...

The only other module I'm using is Views 2 with a node-view.tpl that creates the waypoints and adds the pins. I'm almost finished with the mobile version that works using the native iphone gmaps app and static maps for other phones, when I get back from SF I will post the files and view export.

This is awesome

tommyent's picture

Thanks very cool.

Our campus map

pdrake's picture

We are currently using Views with Gmaps for a campus building map at Ashland University: http://www.ashland.edu/campus-map/buildings

Unresponsive Script

monotaga's picture

@pdrake,

When I look at your campus map, I get:

"Warning: Unresponsive Script

A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.

Script: http://maps.gstatic.com/intl/en_us/mapfiles/140g/maps2.api/main.js:24"

I'm using Firefox (Mac) 3.6.3. I've also had this problem with some map related things that I've been doing in drupal with the gmap module.

Are you experiencing this at all?

BTW, I learned that

monotaga's picture

BTW, I learned that deselecting Google's GMarkerManager on the gmap settings page stops that error from happening. (More at http://drupal.org/node/606620#comment-2199028; thanks, jasonh!)

Gmap+Location

gmasky's picture

@pdrake,

I like your implementation of gmaps and views. Can you post a short howto?

I am using gmap and location modules to create a country wide chapters map, basically node locations. However I am getting very large and ugly pop-ups for each location on clicking the marker. Your implementation is very neat.

Never mind

gmasky's picture

I found the solution here http://groups.drupal.org/node/11693

Thanks

Drupal in Education

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: