gmap

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

Making the Drupal Search more efficient with Location.

Hello all,

I'm building a website where there will be locations attached to nodes through CCK.

I would like to offer the possibility to the visitor to find a node with a keyword(like the default search) BUT ALSO with a city name to narrow the search (like the Location Search).

I browsed the drupal modules but none of them allow me to do that.
It's either find a location or find a keyword in a node, but not the mix of them.

How can I achieve that ? Any idea ?

Read more
husainsn's picture

Access of Location data for a Computed Field

Hello
I have a node type with location data. I want to access latitude and longitude data to calculate Sunrise time in a computed field on the same node - but no success. The code in computed field is:

$lat = $node->$location[latitude];
$long = $node->$location[longitude];
$node_field[0]['value'] = date_sunrise(time(), SUNFUNCS_RET_STRING, $lat, $long, 90, -5);

I can access latitude data $location[latitude] in the theme override, and can calculate sunrise. I want to use the computed field in a View.

Any help will be appreciated.

Read more
husainsn's picture

Access of Location data for use ina computed field

Hello
I have node type with location data. I want to access latitude and longitude data to calculate Sunrise time in a computed field - but no success. The code in computed field (on the same node) is:

$lat = $node->$location[latitude];
$long = $node->$location[longitude];
$node_field[0]['value'] = date_sunrise(time(), SUNFUNCS_RET_STRING, $lat, $long, 90, -5);

I can access latitude data $location[latitude] in the theme override.

Any help will be appreciated.

Read more
gugki's picture

Best practice: Eventcalendar with location guide with D6 2010

Hey there,

as I am planning to create a new Eventsite which features publishing/sharing event data, some location guide and the according search options (search by time/region/proximity etc) and I am still quite new to Drupal, I'd like to collect some input on the currently best ways to do.

What I understood so far:
- Prefer use of Date/Calendar module instead of Event module due to better CCK/Views integration and higher flexibility
- Use Location module for the venue date (together with gmap module) instead of Addresses and co

Read more
c-c-m's picture

I can't disable map zooming when inserting it into a View

Hello,

I've inserted a GMAP macro into a view but I can't manage to disable the mouse zooming. I've tried to disable it at admin/settings/gmap but it doesn't work with all the maps that I have placed into a GMAP View.

I really need to disable it, since the map has the same widht than the screen, so when someone wants to scroll down with the mouse, it makes a Zoom instead, which is really annoying and not user-friendly.

Thanks

Read more
nivlem's picture

Zoom on markers and create sidebar/Block with categories

Hi all, Im new to the group, hope you are all well!

I have been switching a site that i have been working on into using Drupal rather than my own fully coded site. So far its all going well and just recently i discovered that Drupal also has support for Google Map API. This is great news as i already have the google api working on my site as i want it so if i can get the Gmap and location modules to acheive what i already have that should almost complete the site and i can go LIVE!

Read more
rpeters's picture

Having alot oi trouble with Gmap

I am having difficult time displaying my cck fild in the map I create in views they are all type text. Can anyone help please?

Read more
budabur's picture

GMap popups

So, I've been trying to use views with CCK, Location, and GMap for a few days now. I can get everything working fine, but there is one problem that I can't figure out. I made a GMap styled node view and everything comes up fine except for the popup info. The popups work fine, but the only data that is put into the popup is the label for each field.

Read more
tedbow's picture

New Module - GMap Extra Markers

I created mapping module just thought I would let the group know about. GMap Extra Markers allows you to combine the markers from multiple views onto map created by GMap. I created it because wanted to show the different content types on the same map and each type need its own filtering (causing the need for multiple views). Each view can have its own marker. Right now it is only for Drupal 5 but if there is interest I will upgrade it to Drupal 5.

To use:

<

ol>

Read more
lisarex's picture

Topic for Tues: Issue with Views, Location, node_reference, and filtering on terms for a related node

Overview

I'm rebuilding the site in Drupal, with the very awesome assistance of himerus (Jake Strawn). There's a very complicated View to build and we could really use some input on how to make this happen. We will be there on Tuesday night for the Boston meet up. I've also cross-posted this to my blog as well, so there may be other comments there: http://www.lisarex.com/2009/10/views-related-node/

There are two content types, Restaurant and Soup (a restaurant can have more than one soup).

Client requirement:
1. The site visitor will click their state/province.

Read more
Subscribe with RSS Syndicate content