«
Précédent
|
Suivant
»
Révision 675e977d
Ajouté par Remy Menard il y a presque 11 ans
- ID 675e977d6baa946d508d77b8721408cbe9155a8e
- Parent 8fd1d584
GaMMa/src/scripts/gamma.js | ||
---|---|---|
}
|
||
|
||
function addPoint(layer, loc, ids) {
|
||
var ll = loc.split(",");
|
||
var p = new OpenLayers.Geometry.Point(parseInt(ll[0], 10), parseInt(ll[1], 10));
|
||
var p = newPoint(loc);
|
||
p.transform(pEPSG4326, pEPSG900913);
|
||
var feature = new OpenLayers.Feature.Vector(p);
|
||
feature.attributes.id = ids;
|
||
... | ... | |
var points = [];
|
||
var bounds = null;
|
||
for (var k = 0; k < locationsAndIds.length; ++k) {
|
||
var ll = locationsAndIds[k].loc.split(",");
|
||
var lon = parseInt(ll[0], 10);
|
||
var lat = parseInt(ll[1], 10);
|
||
var p = new OpenLayers.Geometry.Point(lon, lat);
|
||
var p = newPoint(locationsAndIds[k].loc);
|
||
if (bounds == null)
|
||
bounds = new OpenLayers.Bounds(p.x, p.y, p.x, p.y);
|
||
else
|
||
... | ... | |
select.unselectAll();
|
||
select.select(feature);
|
||
}
|
||
|
||
function newPoint(loc) {
|
||
var ll = loc.split(",");
|
||
var lat = parseInt(ll[0], 10);
|
||
var lon = parseInt(ll[1], 10);
|
||
return new OpenLayers.Geometry.Point(lon, lat);
|
||
}
|
Formats disponibles : Unified diff
Version 2.1
- a few bugs fixed!
- uses the new DS events
- improves the session management
- the account creation by the web interface adds access policies to
the interface ("admin" policies), this is always done even if a
corresponding account exists in the LDAP directory
- simplifies the service
- upgrades Apache Tomcat to 7.0.42