Code example for GoogleMap

Methods: addPolygon

0
	public SupportMarker addMarker(long id, MarkerOptions options){
		return mMarkerManager.add(id, options);
	} 
	 
	public void addPolygon(PolygonOptions options){
		mGoogleMap.addPolygon(options);
	} 
	 
	/** 
	 * Adds a polyline to this map. 
	 * @param options A polyline options object that defines how to render the Polyline. 
	 * @return The id of the polyline that was added to map. 
	 */ 
	public long addPolyline(PolylineOptions options){
		return mPolylineManager.add(options);
	} 
	 
	/** 
	 * Adds a polyline to this map. 
	 * @param points Array of positions composing polyline