Changeset 25889 in osm for applications/editors


Ignore:
Timestamp:
2011-04-23T23:55:13+02:00 (13 years ago)
Author:
pieren
Message:

Fixed wrong amount of grabs when sized bbox is not standard (not 100m)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/WMSLayer.java

    r25045 r25889  
    180180            mid = mid.add(-1, 1); // in case the boxes side is a pair, select the one one top,left to follow the rotation
    181181            mid = mid.add(- mid.east()%c, - mid.north()%c);
    182             int x = (int)(lambertMax.east() - lambertMin.east())/100;
    183             int y = (int)(lambertMax.north() - lambertMin.north())/100;
     182            int x = (int)(lambertMax.east() - lambertMin.east())/c;
     183            int y = (int)(lambertMax.north() - lambertMin.north())/c;
    184184            int dx[] = {+1, 0,-1, 0};
    185185            int dy[] = {0,-1, 0,+1};
Note: See TracChangeset for help on using the changeset viewer.