History of GmapPackage

The goal of this project is to create a package that lets you edit a [http://maps.google.com|Google Map] like a wiki, with some Flickr integration thrown in for spice.

A Road Map for the package is well underway. You can find part of it below and part of it on [http://mapki.com/index.php?title=GMap_Wikimap_Project|this wiki page] I'm beginning to move things over here as they become more clarified.

If you want to join in I'm not a professional programmer, but have faith, this is going to be sweet. If you do want to help out, well I guess you can email me wjames5 -at - nyc.rr.com or find me on the bitweaver irc thing.

!!Puzzles
!!!Sets
This needs to be a lot like categories. Markers and Polys need to be grouped, or added to sets, but it would make sense to be able to add them to multiple sets. Probably need a new table for this. Should the sets be nested. Could the Categories module be duplicated as is to serve as a set manager? Does it need any modification?


!RoadMap
!!Database Structure
!!!TABLE: tiki_gmap
*map_id
*user_id
*version
*title
*description
*width
*height
*location_lat
*location_Lon
*zoom_level
*map_type
*show_controls (S/L/N)
*show_scale (T/F)
*show_map_types (T/F)
*init_marker_set
*init_polylines_set
*init_polygon_set
*add_map_types
*marker_sets
*polyline_sets
*polygon_sets
*comments (T/F?)
*points
*votes
*page_rank
*cache (?)
*wiki_cache (?)
*cache_timestamp (?)
*flag (?)


!!!TABLE: tiki_gmap_marker
*marker_id
*name
*location_lat
*location_Lon
*icon_id (Style - Default or Custom)
*click_action (assign actions here or type?)
*window_data
*style_id (Style - Default/Custom)
*label_data (Tool Tip in PdMarker Class only)
*zindex
*flickr_image_id (path?)


!!!!TABLE: tiki_gmap_iconstyle
*icon_id
*name
*type (GIcon / [http://xmaps.busmonster.com/documentation.html#XIcon_code_|XIcon])
*image
*image_size
*shadow_image
*shadow_size
*rollover (Image for PdMarker Type only? here or in marker styles below?)
*icon_anchor_x
*icon_anchor_y
*infowindow_anchor_x
*infowindow_anchor_y
*infoshadow_anchor_x
*infoshadow_anchor_y


!!!!TABLE: tiki_gmap_markerstyles
*style_id
*name
*type ([http://www.pixeldevelopment.com/pdmarker.asp|PdMarker] / [http://xmaps.busmonster.com/documentation.html#XMarker_code_|XMarker]])
*icon_hover_image (PdMarker Class)
*label_hover_opacity (PdMarker Class)
*label_opacity (PdMarker Class)
*label_hover_styles (CSS for PdMarker Class)
+(should this also have a seperate style for label/tool tip when it is shown after click?)
*window_styles (CSS for PdMarker Class)
+(is this the same as above? - waiting for email from maker of PdMarker)


!!!TABLE: tiki_gmap_polyline
*polyline_id
*name
*type (Default / [http://xmaps.busmonster.com/documentation.html#XPolyline_code_|XPolyline])
*points_data (an array)
*style_id
*border_text


!!!!TABLE: tiki_gmap_polylinestyles
*style_id
*name
*color
*weight
*opacity
*pattern
*segment_count
*begin_arrow
*end_arrow
*arrows_every
*zindex
*font (CSS)
*text_every
*text_fgstyle_color
*text_fgstyle_weight
*text_fgstyle_opacity
*text_fgstyle_zindex
*text_bgstyle_color
*text_bgstyle_weight
*text_bgstyle_opacity
*text_bgstyle_zindex


!!!TABLE: tiki_gmap_polygon
note: Polygons must be [http://xmaps.busmonster.com/documentation.html#XPolygon_code_|XPolygons]
*polygon_id
*name
*type (Polygon / Circle)
*points_data (an array for polygon)
*center (for circle)
*radius (for circle)
*polylinestyle_id (uses polyline style above)
*style_id
*border_text


!!!!TABLE: tiki_gmap_polygonstyles
*style_id
*name
*color
*weight
*opacity
*zindex


!!!TABLE tiki_gmap_sidepanel
*show (T/F)
*list_map_types (T/F)
*list_markers (T/F)


!!Interface
this is a start toward building the UI

^<h3>Map Tools</h3>
Title <input type="text" size="25" value="Some Title"><br/>
Description <input type="text" size="25" value="About this map"><br/>
Width <input type="text" size="25" value="auto"><br/>
Height <input type="text" size="25" value="auto"><br/>
Latitude <input type="text" size="25" value="somenumber"><br/>
Longitude <input type="text" size="25" value="somenumber"><br/>
Zoom Level <input type="text" size="25" value="7"><br/>
Map Type <select>
<option>Street Map</option>
<option>Satellite</option>
<option>Hybrid</option>
<option>Any custom map types</option>
</select><br/>
Show Controls <select>
<option>Small</option>
<option>Large</option>
<option>None</option>
</select><br/>
Show Scale <input type="checkbox" value="True"><br/>
Show_map_types <input type="checkbox" value="True"><br/>
Marker Sets (table with options)<br/>
Include On Launch <input type="checkbox" value="True">
Include In Side Pane <input type="checkbox" value="True"><br/>
Polylines Sets (table with options)<br/>
Include On Launch <input type="checkbox" value="True">
Include In Side Pane <input type="checkbox" value="True"><br/>
Polygon Sets (table with options)<br/>
Include On Launch <input type="checkbox" value="True">
Include In Side Pane <input type="checkbox" value="True"><br/>
Additional Map Types (table with options)<br/>
Include On Launch <input type="checkbox" value="True">
Include In Side Pane <input type="checkbox" value="True"><br/>
Comments <input type="checkbox" value="True"><br/>



<h3>Marker Tools</h3>
<h4>Marker</h4>
Latitude<input type="text" size="25" value="somenumber"><br/>
Longitude<input type="text" size="25" value="somenumber"><br/>
Icon Type<select>
<option>Default Style</option>
<option>Custom Style 1</option>
<option>Custom Style 1</option>
</select><br/>
Click Action (assign actions here or type?)<br/>
Window Text<textarea cols="30" rows="5"></textarea><br/>
Marker Style<select>
<option>Default Style</option>
<option>Custom Style 1</option>
<option>Custom Style 1</option>
</select><br/>
Label Text <textarea cols="30" rows="2"></textarea><br/>
zIndex <input type="text" size="25" value="auto"><br/>
Flickr Image (how to get path? menu?)<br/>


<h4>Custom Icon Tools</h4>
Name <input type="text" size="25" value="Some Name"><br/>
Type<select>
<option>GIcon</option>
<option>XIcon</option>
</select><br/>
Icon Image Path <input type="text" size="25" value="Some Value"><br/>
Image Size <input type="text" size="25" value="Some Value"><br/>
Shadow Image Path <input type="text" size="25" value="Some Value"><br/>
Shadow Size <input type="text" size="25" value="Some Value"><br/>
Icon Anchor x <input type="text" size="25" value="Some Value"><br/>
Icon Anchor y <input type="text" size="25" value="Some Value"><br/>
Info Window Anchor x <input type="text" size="25" value="Some Value"><br/>
Info Window Anchor y <input type="text" size="25" value="Some Value"><br/>
Info Shadow Anchor x <input type="text" size="25" value="Some Value"><br/>
Info Shadow Anchor y <input type="text" size="25" value="Some Value"><br/>


<h4>Custom Marker Tools</h4>
Name <input type="text" size="25" value="Some Value"><br/>
Type <select>
<option>PdMarker</option>
<option>XMarker</option>
</select><br/>
<small>(PdMarker Class Only)</small><br/>
Icon Hover Image Path <input type="text" size="25" value="Some Value"><br/>
Label Hover Opacity <input type="text" size="25" value="A Number"><br/>
Label Opacity <input type="text" size="25" value="A Number"><br/>
Label Hover Styles <input type="text" size="25" value="Some Value"><br/>
Window Styles <input type="text" size="25" value="Some Value"><br/>



<h3>Polyline Tools</h3>

<h4>Ployline</h4>
Name <input type="text" size="25" value="Some Value"><br/>
Type<select>
<option>Default</option>
<option>XPolyline</option>
</select><br/>
Points Data <textarea cols="30" rows="5"></textarea><br/>
Style<select>
<option>Default</option>
<option>Custom</option>
</select><br/>
<small>(selects a style by id</small><br/>
Border Text <input type="text" size="25" value="Some Value"><br/>

<h4>Polyline Styles</h4>
Name <input type="text" size="25" value="Some Value"><br/>
Color <input type="text" size="25" value="Hex Value"><br/>
Weight <input type="text" size="25" value="A Number"><br/>
Opacity <input type="text" size="25" value="A Number"><br/>
Pattern <input type="text" size="25" value="A Number"><br/>
Segment_count <input type="text" size="25" value="A Number"><br/>
Begin Arrow <input type="checkbox" value="True"><br/>
End Arrow <input type="checkbox" value="True"><br/>
Arrows Every <input type="text" size="25" value="A Number"><br/>
zIndex <input type="text" size="25" value="A Number"><br/>
Font (CSS) <input type="text" size="25" value="Some Value"><br/>
Text Every <input type="text" size="25" value="A Number"><br/>
Text fgstyle_color <input type="Text" size="25" value="Hex Value"><br/>
Text fgstyle_weight <input type="Text" size="25" value="A Number"><br/>
Text fgstyle_opacity <input type="Text" size="25" value="A Number"><br/>
Text fgstyle_zindex <input type="Text" size="25" value="A Number"><br/>
Text bgstyle_color <input type="Text" size="25" value="Hex Value"><br/>
Text bgstyle_weight <input type="Text" size="25" value="A Number"><br/>
Text bgstyle_opacity <input type="Text" size="25" value="A Number"><br/>
Text bgstyle_zindex <input type="Text" size="25" value="A Number"><br/>


<h3>Polygon Tools</h3>
<h4>Polygon</h4>
Name <input type="text" size="25" value="Some Value"><br/>
Type<select>
<option>Polygon</option>
<option>Circle</option>
</select><br/>
Points Data <textarea cols="30" rows="2">An Array</textarea><br/>
Center <input type="Text" size="25" value="A Lat/Lon Array"><br/>
Radius <input type="Text" size="25" value="A Number"><br/>
Border Style<select>
<option>Custom 1</option>
<option>Custom 2</option>
</select><br/>
(this is a polyline style)<br/>
Style<select>
<option>Custom 1</option>
<option>Custom 2</option>
</select><br/>
(this is a polygon style)<br/>
Border Text <input type="text" size="25" value="Some Value"><br/>

<h4>Polygon Style</h4>
Name <input type="text" size="25" value="Some Value"><br/>
Color <input type="text" size="25" value="A Number"><br/>
Weight <input type="text" size="25" value="A Number"><br/>
Opacity <input type="text" size="25" value="A Number"><br/>
zIndex <input type="text" size="25" value="A Number"><br/>
^
Page History
Date/CommentUserIPVersion
25 Nov 2008 (20:19 UTC)
bug fix updates
Will69.203.72.161167
Current • Source
Will69.203.72.161166
View • Compare • Difference • Source
Will69.203.72.161165
View • Compare • Difference • Source
Will69.203.72.161164
View • Compare • Difference • Source
Will69.203.72.161163
View • Compare • Difference • Source
Will69.203.72.161162
View • Compare • Difference • Source
Will69.203.72.161161
View • Compare • Difference • Source
Will69.203.72.161160
View • Compare • Difference • Source
Will69.203.72.161159
View • Compare • Difference • Source
Will69.203.72.161158
View • Compare • Difference • Source
Will69.203.72.161157
View • Compare • Difference • Source
Will69.203.72.161156
View • Compare • Difference • Source
Will69.203.72.161155
View • Compare • Difference • Source
Will69.203.72.161154
View • Compare • Difference • Source
Will69.203.72.161153
View • Compare • Difference • Source
Will69.203.72.161152
View • Compare • Difference • Source
Will69.203.72.161151
View • Compare • Difference • Source
Will69.203.72.161150
View • Compare • Difference • Source
Will69.203.72.161149
View • Compare • Difference • Source
Will69.203.72.161148
View • Compare • Difference • Source
Will206.83.76.15147
View • Compare • Difference • Source
Will66.251.17.162146
View • Compare • Difference • Source
Will206.83.76.15145
View • Compare • Difference • Source
Will66.251.17.162144
View • Compare • Difference • Source
Will66.251.17.162143
View • Compare • Difference • Source
Will206.83.76.15142
View • Compare • Difference • Source