/src/com/google/maps/extras/markerclusterer/MarkerStyleOptions.as
http://gmaps-utility-library-flash.googlecode.com/ · ActionScript · 66 lines · 15 code · 6 blank · 45 comment · 0 complexity · 06b34abc616c5ab8326cb625f9377eb7 MD5 · raw file
- /**
- * @name MarkerClusterer for Flash
- * @version 1.0
- * @author Xiaoxi Wu
- * @copyright (c) 2009 Xiaoxi Wu
- * @fileoverview
- * Ported from Javascript to Actionscript 3 by Sean Toru
- * Ported for use in Flex (removal of fl. libraries) by Ian Watkins
- * Reflectored for both Flash and Flex,
- * and maintained by Juguang XIAO (juguang@gmail.com)
- *
- * This actionscript library creates and manages per-zoom-level
- * clusters for large amounts of markers (hundreds or thousands).
- * This library was inspired by the <a href="http://www.maptimize.com">
- * Maptimize</a> hosted clustering solution.
- * <br /><br/>
- * <b>How it works</b>:<br/>
- * The <code>MarkerClusterer</code> will group markers into clusters according to
- * their distance from a cluster's center. When a marker is added,
- * the marker cluster will find a position in all the clusters, and
- * if it fails to find one, it will create a new cluster with the marker.
- * The number of markers in a cluster will be displayed
- * on the cluster marker. When the map viewport changes,
- * <code>MarkerClusterer</code> will destroy the clusters in the viewport
- * and regroup them into new clusters.
- *
- */
-
- /*
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-
- package com.google.maps.extras.markerclusterer
- {
- public class MarkerStyleOptions extends Object
- {
- public function MarkerStyleOptions(params:Object = null)
- {
- super();
- }
-
-
- public var url:String;
- public var width:Number;
- public var height:Number;
- /**
- * array of Number.
- * Anchor for label text, like [24, 12]
- * If not et, the text will align center and middle.
- */
- public var anchor:Array;
- public var color:uint;
- }
- }