From f92f0ad02ebe941116a61a18979c4e43b41fc129 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Tue, 1 Jan 2013 20:01:10 +0100 Subject: [PATCH] examples/vector-formats: Added "Encoded Polyline" format --- examples/vector-formats.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/examples/vector-formats.html b/examples/vector-formats.html index 97b51c7d2f..2b45b543f4 100644 --- a/examples/vector-formats.html +++ b/examples/vector-formats.html @@ -87,8 +87,9 @@ gml3: new OpenLayers.Format.GML.v3(gmlOptionsIn), kml: new OpenLayers.Format.KML(kmlOptionsIn), atom: new OpenLayers.Format.Atom(in_options), - gpx: new OpenLayers.Format.GPX(in_options) - }, + gpx: new OpenLayers.Format.GPX(in_options), + encoded_polyline: new OpenLayers.Format.EncodedPolyline(in_options) + }, 'out': { wkt: new OpenLayers.Format.WKT(out_options), geojson: new OpenLayers.Format.GeoJSON(out_options), @@ -97,8 +98,9 @@ gml3: new OpenLayers.Format.GML.v3(gmlOptionsOut), kml: new OpenLayers.Format.KML(out_options), atom: new OpenLayers.Format.Atom(out_options), - gpx: new OpenLayers.Format.GPX(out_options) - } + gpx: new OpenLayers.Format.GPX(out_options), + encoded_polyline: new OpenLayers.Format.EncodedPolyline(out_options) + } }; } function init(){ @@ -202,6 +204,7 @@ +