[Commits] r2094 - sandbox/cmoullet/publicapi
commits at geoext.org
commits at geoext.org
Mon Apr 19 16:54:25 CEST 2010
Author: cmoullet
Date: 2010-04-19 16:54:25 +0200 (Mon, 19 Apr 2010)
New Revision: 2094
Modified:
sandbox/cmoullet/publicapi/map_map24.html
Log:
Finally, got it...
Modified: sandbox/cmoullet/publicapi/map_map24.html
===================================================================
--- sandbox/cmoullet/publicapi/map_map24.html 2010-04-19 14:33:51 UTC (rev 2093)
+++ sandbox/cmoullet/publicapi/map_map24.html 2010-04-19 14:54:25 UTC (rev 2094)
@@ -18,13 +18,19 @@
//Callback function called when the API is loaded. The map can now be shown.
function map24ApiLoaded() {
//Initialize mapping client and show map.
+ Map24.MapApplication.setStartMapView( {
+ UpperLeftLongitude: 154.828,
+ UpperLeftLatitude: 2930.612,
+ LowerRightLongitude: 155.228,
+ LowerRightLatitude: 2930.212
+ } );
+
Map24.MapApplication.init({ NodeName: "maparea" });
- Map24.MapApplication.center( { Coordinate: new Map24.Coordinate(155.028,2930.412), MinimumWidth: 460 } );
}
</script>
</head>
<body onload="goMap24()">
-<div id="maparea" style="width:700px;height:500px;background-color:#E0E0E0;"></div>
+<div id="maparea" style="width:800px;height:600px;background-color:#E0E0E0;"></div>
</body>
</html>
\ No newline at end of file
More information about the Commits
mailing list