Hi Mario,
sorry for coming late (and reading only half because of being busy),
but perhaps I can give some hint.
> i have find out the way to get a CRS, so my code seems like this:
>
> ViewportModel viewport = map.getViewportModelInternal();
>
> CoordinateReferenceSystem crs = DefaultGeographicCRS
Hello again,
i have find out the way to get a CRS, so my code seems like this:
ViewportModel viewport = map.getViewportModelInternal();
CoordinateReferenceSystem crs = DefaultGeographicCRS.WGS84;
viewport.setCRS(crs);
viewport.setBounds(80.9, 156.3, -15.0, 15.0);
map.setViewportModelInternal(
Hello again,
i have get a change of bbox, but something seems to be wrong with the CRS...
this is what i have done:
ViewportModel viewport = map.getViewportModelInternal();
//Envelope envelope = new Envelope();
//envelope.init(81.1,-15.0,156.5,14.9);
viewport.setBounds(81.1,-15.0,156.5,14.9);
Hello,
i want udig to show in the map view a concrete bbox, i mean, the map view shows
a concrete part of the world.
The layers i have loaded are showing only the concrete part that i want and
that is fine, but if a load other layer with contents all over the world the
map view zooms out to