Tighter Views Integration

jredding - March 12, 2007 - 03:16
Project:GMap Module
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:bdragon
Status:postponed
Description

I was about to start work on tightening up the views integration but wanted to post to see if anyone was interested in helping or had already begun development.

I'd like to add the ability the following

-Views to adhere to marker theme (i.e. .tpl.php files)
-Views to either (a) set point on a map or create lines on map (according to the sort criteria of the view)
-Size, width, center and other gmap variables could be modified for each view.

Any interested in this? in helping out or has development begun on any of these things?

#1

tom_o_t - March 14, 2007 - 20:09

I'm really interested in this, I'm just trying to figure out how to do this myself. Being able to set the zoom level, center, width & height of a map in views would be a really useful development.

Good luck!

#2

Nemo@groups.dru... - March 15, 2007 - 07:55

Hi,

Yes. I am also really interest in this, especial for specific set size, width and height etc. Current the only way to set this is only manually hack with code from this node.

It would be great that integrate those features.

#3

jredding - March 15, 2007 - 17:15

Great thanks for bringing that up. Right now I'm kinda exploring the various options for doing this. I'd rather get all the facts in before I started writing code.

Ok.. so I've seen the assign a Gmap Macro to a view code hack; which is great! The next question is should the module to patched so that this is a bit easier to use
Perhaps a section on the view that gives you a dropdown of available gmap macros?

OR should the settings; like centering, buttons, width, height, markers, etc. etc. be actually options available when creating the view itself.

In going the second route it seems as though it is duplicating the effort in the gmap Macro builder and I would rather keep development efforts concentrated.

What do people think? What is needed more?
1) An easy way to assign a Macro to a gmap View
2) The ability to assign gmap variable on a view? (widht, height, buttons, center, etc. etc.)

#4

Nemo@groups.dru... - March 17, 2007 - 17:14

Hi jredding,

Thanks for considering it and taking it into action. As you said second option is a bit duplicate of GMap Macro, maybe it's better to go with option 1, a place for putting GMap Macro.

However, if one can put a lists of width, height, center (maybe in database?) into views, it may be more flexible. For examples, you have information for different cities. When user select different city (exposed filters), the gmap view will automatically relocate to that specific city and zoom in a proper range.

These are only my suggestions. I think maybe there're some other opinions around.

#5

jredding - March 20, 2007 - 09:55

I'm holding off on developing this until I see where Bdragon is taking this development.
http://drupal.org/node/74920

There is a lot of work being done on this module right now and I'm not exactly sure where the chips are going to fall. I'm going to check out the latest additions (link above) and talk to some people at DrupalCon this week. As always there is always room for development but the new updates make it seem like this task may have already been completed.

#6

bdragon - June 30, 2008 - 18:44
Version:5.x-1.x-dev» 6.x-1.x-dev
Assigned to:jredding» bdragon
Status:active» postponed

After the initial D6 port, I'm going to work on coming up with a proper interface to configure a views map.

 
 

Drupal is a registered trademark of Dries Buytaert.