-
Notifications
You must be signed in to change notification settings - Fork 0
Thin & Simple Google Maps V3 Wrapper for Cappuccino. Uses the DOM rather than a WebView. Some code based on http://github.com/280north/mapkit
nickdiaconou/ZZMapKit
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is a very simple Google Maps v3 wrapper for Cappuccino (http://www.cappuccino.org) ----------------------------------------------------------- It is a CPView subclass. Some code comes from http://github.com/280north/mapkit The initWithFrame: methods take a variable number of trailing arguments. The idea is rather than creating loads of wrapper methods around all the map options, we simply pass each option as an object or a number of options in one object to the method, as below: See http://code.google.com/apis/maps/documentation/javascript/reference.html#MapOptions for the option names vMap = [[ZZMapView alloc] initWithFrame:CGRectMakeZero() delegate:self center:{latitude:0.1, longitude:0.1}, zoom:15, {mapTypeId:ZZMapTypeRoadMap}, {streetViewControl:true}, nil]; or vMap = [[ZZMapView alloc] initWithFrame:CGRectMakeZero(), { zoom:4, draggable:true, mapTypeId:ZZMapTypeRoadMap, streetViewControl:true }, nil]; and var mapMarker = [[ZZMarker alloc] initAtLocation:loc onMap:vMap, {title:[aProject title], draggable:true}, nil]; ------------------- Architecture 00 Ltd. Released under the LGPL 2010
About
Thin & Simple Google Maps V3 Wrapper for Cappuccino. Uses the DOM rather than a WebView. Some code based on http://github.com/280north/mapkit
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published