A Wikid Google Map Engine
SummaryThis package makes including and using Google Maps on your bitweaver site a snap! You can create maps, markers, polylines, and other information with just a little pointing and clicking - no Google Maps API knowledge required! It also provides a service to other packages, to make it easy to add location data to other content. The Gmap Package also provides a universal map for viewing any of such geo-located bitweaver content on your site, so if you tag a page or article with a location you can search for that content by location and view it on a map.
Gmap Map BuilderCreating Custom Google Maps with Custom Markers, Polylines, Polygons, and other features
Gmap Mapping ServiceLets other packages integrate Google Maps into their features without having to do any map development. One example use that is already integrated is Google Maps can be used for easily attaching geo location data to any bitweaver cms content. Admins can select which content types can be mapped. A Small Map and Permalinks to the Gmap Content Browser can also be included on content pages for easy viewing of where a content item is on a map.
Gmap Content BrowserA universal map interface for searching for bitweaver geo located content (like pages, articles, users) and viewing it on the map.
DependenciesThe R2 version of the GmapPackage is dependent on the GeoPackage. All location date, lat/lng pairs, are being managed by the GeoPackage service. You MUST also install the GeoPackage if you want to use GmapPackage.
For strict security enforcement in Gmap package you should also install LibertySecurePackage. Gmap has options for making maps and map components private. To strictly enforce those settings in all access points, particularly lists, then you will need LibertySecure. You can run Gmap without LibertySecure, but "private" content will be displayed in lists.
ConfigurationYou must obtain a Google Map API Key for your site.
To use the package you need a key from Google. You can sign up for a key here - it is quick and painless and best of all, Free. After you install the package and have your key, you can plugin your key value for your site in the Gmap admin preferences, which you can get to by going to http://yourbitweaversite/kernel/admin/. Or if you just point your browser to the gmap/ directory, while logged in as admin, you will get prompts how to do this.
For non-required additional configuration tips see: GmapPackage Configuration Tips
Get The CodeYou can get the latest version of the package by getting module _bit_gmap from bitweaver CVS.
- Content Browser Map - Category options list has duplicates. (NEED HELP)
- Content Browser Map - Content in nested categories is not found when only ancestor is selected (NEED HELP)
- Maptype/Tilelayer/Copyright updating after edit does not work - this is really a TODO — you can store maptypes - just refresh the map to see the results. Basically the ajax callback does not work at the moment.
- backside functionality to browse Marker, polyline, and polygon styles exists, need ui to display info to user while editing overlays.
- cache page requests - including all related data
- Polygon drawing assistant basically works - could be nicer
- Create custom display of polys on Gmap Content Browser page
- Create content page versions for Polylines, Polygons, that do not require loading the whole map.
- Clean Up gmap css
- Integrate GxMarker and PdMarker.
- Infinity and Beyond: see history below
Custom HistoryHistory features would be for recording changes to gmap package specific data as well as displaying liberty history data.
- Wire in access to Liberty History records
- Map History
- Marker History
- Poly History
Final Beta Prep
- Test in various browsers
The features of the package are supplemented by a bleeding edge AJAX editing interface. Almost all features of the map can be updated live, without a browser refresh.
About the AJAX Editing UIThe Gmap Package has a very robust AJAX based editing interface for live updating of map features. The editing UI and related AJAX transaction methods use the Mochkit library.
Sets Model FrameworkThe GmapPackage uses a sets model for associating markers, markericons, maptypes, polylines, polygons, and their styles with maps.
Through the use of various keychains, each object may be associated with many maps, many sets of obejcts, and many styles. Each map has a key chain which associates it with sets of markers, maptypes, polylines, and polygons. Marker Sets, Polyline Sets, and Polygon Sets in turn each have individual objects as well as styles with which they are associated. The reason for this is multifold.
One advantage of this sets model is it makes it easier to share individual markers, polyline, and polygons with various maps and sets of each object. For example a marker can be in any number of sets, and those sets can be on any number of maps. This makes it much easier to share content across multiple maps. This could be especially value where say you might want to mash up particular information like restaurants, or art events with something universal like subway stops. Once you create a set of subway stops, then you could reuse that on multple maps mixing it with other data.
The other advantage is that styles can be divorced from content. This is both valuable for customizing the look and feel of the same map data on a map by map basis, as well as optimizing the database and lightening page weight. Each set contains a reference to a style. If a new look and feel is desired for a set of markers, that set only need be duplicated and a new style assigned. However none of the actual marker or polyline or polygon data is duplicated, only the reference to that data. This thus reduces redundancy while following in the W3C ideal of seperating data from style.
This use of sets also makes for lighter db queries and page weight. For each style used that style is only delivered to the client once, each object in a set then references that one style. This is faster and more efficient than packaging style information with each object...especially as one starts to use tens to hundreds of like styled objects on one map.
- Mapki Developer Tools
- Official Google Maps API
- Google Maps API News Group on Google Groups
- Flickr API
- Flickr API Key Application
Packages that can be added to bitweaver to expand the core functionality.
Lucene in the Sky with Diamonds! • Newsletters News and Center Pieces are Falling Into Place • AddressPackage • Archived Picture Upload with Fisheye under Windows • AuthenticationPluginMultisites • BitcartPackage • bitUnitPackage • Bitweaver Features • BlogsPackage • BnspellPackage • BoardsPackage • CalendarPackage • CascaderPackage • CategoriesPackage • ChatterboxPackage • CvsviewPackage • DamoboardsPackage • DirectoryPackage • FisheyePackage • GalaxiaPackage • GmapPackage • HotwordsPackage • LDAPContactsPackage • LibertyformPackage • LucenePackage • MapperPackage • MetaPackage • MultisitesPackage • NewslettersPackage • NexusPackage • PdfPackage • PersonPackage • PhpBBPackage • PhpgedviewPackage • PigeonholesPackage • PodcastsPackage • ProtectorPackage • ProtectorService • QuicktagsPackage • RecommendsPackage • RSSPackage • SamplePackage • SamplePackageDissection • SearchPackage • SemaphorePackage • ShoutboxPackage • SitehomePackage • SpamuraiPackage • StatsPackage • StickiesPackage • TagsPackage • TasksPackage • TreasuryPackage • UpstallPackage • WikiPackage • Rodnxcv Mercur • Packages • magickwand-0.1.3.tar
AddressPackage • BitcartPackage • bitweaverPackage • BlogsPackage • BnspellPackage • BoardsPackage • CalendarPackage • CascaderPackage • CategoriesPackage • ChatterboxPackage • EventsPackage • FisheryPackage • GalaxiaPackage • GatekeeperPackage • GeoPackage • GmapPackage • GroupsPackage • IlikePackage • InstallPackage • KernelPackage • LanguagesPackage • LDAPContactsPackage • LibertyformPackage • LibertyPackage • LibertySecurePackage • MessagesPackage • MetaPackage • ModCommentsPackage • ModerationPackage • Moderation Package • NewslettersPackage • NexusPackage • PackagerPackage • PdfPackage • PersonPackage • PhpBBPackage • PhpgedviewPackage • PigeonholesPackage • PodcastsPackage • ProtectorPackage • QuicktagsPackage • QuotaPackage • ReBlogPackage • RecommendsPackage • RSSPackage • SamplePackage • SearchPackage • ShoutboxPackage • SitehomePackage • SmileysPackage • StatsPackage • StencilsPackage • StickiesPackage • SwitchboardPackage • TagsPackage • TemplatesPackage • Themes Package • TidbitsPackage • TreasuryPackage • Tutorial_Custom_Package • UsersPackage • WikiPackage • XmlrpcPackage • YellowpagesPackage