History of GmapPackage

Version 11

GmapPackage

A Wikid Google Map Engine

Created by: Will, Last modification: 30 Sep 2005 (23:32 UTC) by Will
The goal of this project is to create a package that lets you edit a 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 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 / 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 (PdMarker / 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 / XPolyline)
  • points_data (an array)
  • style_id
  • border_text
  • zindex

TABLE: tiki_gmap_polylinestyles
  • style_id
  • name
  • color
  • weight
  • opacity
  • pattern
  • segment_count
  • begin_arrow
  • end_arrow
  • arrows_every
  • 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 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
  • zindex

TABLE: tiki_gmap_polygonstyles
  • style_id
  • name
  • color
  • weight
  • opacity

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

Map Tools


Title <input type="text" size="25" value="Some Title" />

Description <input type="text" size="25" value="About this map" />

Width <input type="text" size="25" value="auto" />

Height <input type="text" size="25" value="auto" />

Latitude <input type="text" size="25" value="somenumber" />

Longitude <input type="text" size="25" value="somenumber" />

Zoom Level <input type="text" size="25" value="7" />

Map Type <select><option>Street Map</option><option>Satellite</option><option>Hybrid</option><option>Any custom map types</option></select>

Show Controls <select><option>Small</option><option>Large</option><option>None</option></select>

Show Scale <input type="checkbox" value="True" />

Show_map_types <input type="checkbox" value="True" />

Marker Sets (table with options)

Include On Launch <input type="checkbox" value="True" />
Include In Side Pane <input type="checkbox" value="True" />

Polylines Sets (table with options)

Include On Launch <input type="checkbox" value="True" />
Include In Side Pane <input type="checkbox" value="True" />

Polygon Sets (table with options)

Include On Launch <input type="checkbox" value="True" />
Include In Side Pane <input type="checkbox" value="True" />

Additional Map Types (table with options)

Include On Launch <input type="checkbox" value="True" />
Include In Side Pane <input type="checkbox" value="True" />

Comments <input type="checkbox" value="True" />

Marker Tools


Marker


Latitude<input type="text" size="25" value="somenumber" />

Longitude<input type="text" size="25" value="somenumber" />

Icon Type<select><option>Default Style</option><option>Custom Style 1</option><option>Custom Style 1</option></select>

Click Action (assign actions here or type?)

Window Text<textarea cols="30" rows="5" />

Marker Style<select><option>Default Style</option><option>Custom Style 1</option><option>Custom Style 1</option></select>

Label Text <textarea cols="30" rows="2" />

zIndex <input type="text" size="25" value="auto" />

Flickr Image (how to get path? menu?)

Custom Icon Tools


Name <input type="text" size="25" value="Some Name" />

Type<select><option>GIcon</option><option>XIcon</option></select>

Icon Image Path <input type="text" size="25" value="Some Value" />

Image Size <input type="text" size="25" value="Some Value" />

Shadow Image Path <input type="text" size="25" value="Some Value" />

Shadow Size <input type="text" size="25" value="Some Value" />

Icon Anchor x <input type="text" size="25" value="Some Value" />

Icon Anchor y <input type="text" size="25" value="Some Value" />

Info Window Anchor x <input type="text" size="25" value="Some Value" />

Info Window Anchor y <input type="text" size="25" value="Some Value" />

Info Shadow Anchor x <input type="text" size="25" value="Some Value" />

Info Shadow Anchor y <input type="text" size="25" value="Some Value" />

Custom Marker Tools


Name <input type="text" size="25" value="Some Value" />

Type <select><option>PdMarker</option><option>XMarker</option></select>
(PdMarker Class Only)

Icon Hover Image Path <input type="text" size="25" value="Some Value" />

Label Hover Opacity <input type="text" size="25" value="A Number" />

Label Opacity <input type="text" size="25" value="A Number" />

Label Hover Styles <input type="text" size="25" value="Some Value" />

Window Styles <input type="text" size="25" value="Some Value" />

Polyline Tools



Ployline


Name <input type="text" size="25" value="Some Value" />

Type<select><option>Default</option><option>XPolyline</option></select>

Points Data <textarea cols="30" rows="5" />

Style<select><option>Default</option><option>Custom</option></select>
(selects a style by id

Border Text <input type="text" size="25" value="Some Value" />

Polyline Styles


Name <input type="text" size="25" value="Some Value" />

Color <input type="text" size="25" value="Hex Value" />

Weight <input type="text" size="25" value="A Number" />

Opacity <input type="text" size="25" value="A Number" />

Pattern <input type="text" size="25" value="A Number" />

Segment_count <input type="text" size="25" value="A Number" />

Begin Arrow <input type="checkbox" value="True" />

End Arrow <input type="checkbox" value="True" />

Arrows Every <input type="text" size="25" value="A Number" />

zIndex <input type="text" size="25" value="A Number" />

Font (CSS) <input type="text" size="25" value="Some Value" />

Text Every <input type="text" size="25" value="A Number" />

Text fgstyle_color <input type="Text" size="25" value="Hex Value" />

Text fgstyle_weight <input type="Text" size="25" value="A Number" />

Text fgstyle_opacity <input type="Text" size="25" value="A Number" />

Text fgstyle_zindex <input type="Text" size="25" value="A Number" />

Text bgstyle_color <input type="Text" size="25" value="Hex Value" />

Text bgstyle_weight <input type="Text" size="25" value="A Number" />

Text bgstyle_opacity <input type="Text" size="25" value="A Number" />

Text bgstyle_zindex <input type="Text" size="25" value="A Number" />

Polygon Tools


Polygon


Name <input type="text" size="25" value="Some Value" />

Type<select><option>Polygon</option><option>Circle</option></select>

Points Data <textarea cols="30" rows="2">An Array</textarea>

Center <input type="Text" size="25" value="A Lat/Lon Array" />

Radius <input type="Text" size="25" value="A Number" />

Border Style<select><option>Custom 1</option><option>Custom 2</option></select>

(this is a polyline style)

Style<select><option>Custom 1</option><option>Custom 2</option></select>

(this is a polygon style)

Border Text <input type="text" size="25" value="Some Value" />

Polygon Style


Name <input type="text" size="25" value="Some Value" />

Color <input type="text" size="25" value="A Number" />

Weight <input type="text" size="25" value="A Number" />

Opacity <input type="text" size="25" value="A Number" />

zIndex <input type="text" size="25" value="A Number" />



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