Google Maps API v3 Tool

文章推薦指數: 80 %
投票人數:10人

This application is also available with Large map. Click on the map to generate a shape. This is a drawing tool for polyline, polygon, polygon with holes, ... GoogleMapsAPIv3Tool Polyline Polygon Rectangle Circle Marker Directions Polylinecircle Polygoncircle KML Javascript LngLatmousemove LatLngmousemove Zoomlevel: Hole Step0    Livecodepresentationintextarea(below): Clickonthemap.Thecodefortheshapeyoucreatewillbepresentedhere. YoumayshiftfromPolylinetoPolygonandvice/versaatanytimewhenyoudraw. Whenfinishedwithashape,click'Nextshape'anddrawanothershape,ifyouwish. Ifyouwanttodrawpolygonwithhole(-s),choosePolygonandfollowtheinstructions. Polylineandpolygonmaybeeditedbyclicking'Editlines'. Whenediting,youmayremoveapointwithaclickonit. Ifyouwanttoeditasavedpolylineorpolygon,clickonit.Thenclick'Editlines'. Therearestyleoptionsforeverythingyoudrawonthemap. ThecompleteKMLcodeforwhatyouhavecreated,isalwaysavailablewithShowKML. WithKMLinputyoumayedittheKMLcode. Uncheck'Livecodepresentation'forgreaterspeedwhenyoudrawshapeswithlargeamountofpoints. Checkitwhenyouwanttoseethecode. POLYLINE X strokeColor strokeOpacity strokeWeight Styleid Clickheretosavestylechanges Clickheretosaveasnewstyle Style1 POLYGON X strokeColor strokeOpacity strokeWeight fillColor fillOpacity Styleid Clickheretosavestylechanges Clickheretosaveasnewstyle Style1 CIRCLE X strokeColor strokeOpacity strokeWeight fillColor fillOpacity Styleid Clickheretosavestylechanges Clickheretosaveasnewstyle Style1 MARKER X Usedefaulticon,orchooseiconfromthechart Clickheretosavestylechanges Clickheretosaveasnewstyle Style1 X               currentstyle    Youmaycreateorchangestyleswiththe"StyleOptions"button. Youmaypressitnoworanytime.        forline         currentstyle     formarker         currentstyle Youmaycreateorchangestyleswiththe"StyleOptions"button. YoumaypressitnoworanytimeinDirectionsmode. Saveifyouhaveenteredanythingabove,elseClose Thisapplicationisalsoavailablewith Largemap. Clickonthemaptogenerateashape. Thisisadrawingtoolforpolyline,polygon,polygonwithholes,rectangle,circle,marker(icon),direction(route,path). KMLorJavascriptcodewithlatitudeandlongitudefortheclickedpointsispresentedinthetextarea. YoucopyKMLcodeandpasteitintoatexteditor.ThenyouhaveaKMLfileyoumayuploadtoyourwebsite. IfyouwishtomakeaStaticMap, trythis. Codewillbepresentedinthetextarea.YoumaychoosetoseeKMLorGoogleJavascriptV3. TheOpenStreetMapmaptypehasbeenaddedtotheGoogleMapsmaptypes.Ithasbeen embeddedasalayerwithintheGoogleMap.Thiswillinmanyparts oftheworldgiveyoumaptileswithmoredetailsthanthedefaultGoogleMapstiles. Thefeature'polygonwithhole'('donut')isbuilt-in.ChoosePolygondrawmodeandfollowtheinstructions. Alloverlayshavestyleoptions.Therearesomecustommarkers(icons)availableforMarkerandDirection. Forediting-ifyouhaveakmlfileuploadedonaserver,andyouwanttoedititscoordinates, youmayusemyedittoolEdittoolforGooglemapspolylineandpolygon YouwillneedaPCorlaptopwithalargeamountofcomputermemoryifyourkmlfilehas1000 coordinatepairsormore. Ifacoastlineispartoftheshapeyouwanttocreate,youmayusetemplatesandbuildonthem BuildGooglemapspolylinesandpolygonsfromtemplates Exampleofuseofmyapp:Qlikpagein QlikSenseEnterpriseDocuments.            Contact: KjellScharning Ifyoucopythispage,pleasedeletetheGoogleAnalyticspagetracker



請為這篇文章評分?