From d22d41a71f3e6cd89310cfaa020001f3f73d6da0 Mon Sep 17 00:00:00 2001 From: wlx Date: Tue, 29 Jun 2010 05:13:40 +0000 Subject: [PATCH] change polygon to point in timemap --- .../default/views/scripts/water/timemap.phtml | 21 ++++--------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/application/default/views/scripts/water/timemap.phtml b/application/default/views/scripts/water/timemap.phtml index 9a6564ce..0b3b5da5 100644 --- a/application/default/views/scripts/water/timemap.phtml +++ b/application/default/views/scripts/water/timemap.phtml @@ -39,24 +39,11 @@ window.onload=function() { "end" : "", - "polygon" : [ + "point" : { - "lat" : , - "lon" : - },{ - "lat" : , - "lon" : - },{ - "lat" : , - "lon" : - },{ - "lat" : , - "lon" : - },{ - "lat" : , - "lon" : - } - ], + "lat" : , + "lon" : + }, "title" : "", "options" : { // set the full HTML for the info window