Hi Chris,
check the TileRaster class, it should have methods to set the map center
and zoom level. You have a reference to TileRaster in MapActivity.
Regards,
--
Alberto Romeu
---
Prodevelop SL, Valencia (España)
Tlf.: 96.351.06.12 -- Fax: 96.351.09.68
http://www.prodevelop.es
---
El 29/08/11 00:06, [email protected] escribió:
Hello,
could someone give me more details how to set the x and y coordinate
as well as the zoom level when loading gvSIG Mini?
I would like to start gvSIG Mini with a predefined point and zoom level.
It has to be done via programming and not with
"/sdcard/gvSIG/config/mapstate.txt"
I could not find any differences when changing parameters at class
MapState.java with the method load().
Especially when they are listed twice.
/gvSIG Mini/gvSIG Mini lib_src/es/prodevelop/gvsig/mini/map/MapState.java
/gvSIG Mini lib/src/es/prodevelop/gvsig/mini/map/MapState.java
Some instructions at
http://osgeo-org.1803224.n2.nabble.com/gvsig-mini-set-start-position-td6162196.html
<http://osgeo-org.1803224.n2.nabble.com/gvsig-mini-set-start-position-td6162196.html>
could not help either.
Thanks!
Chris
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! *http://produkte.web.de/go/toolbar*
_______________________________________________
Gvsig_internacional mailing list
[email protected]
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
_______________________________________________
Gvsig_internacional mailing list
[email protected]
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional