You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Tobias Dahinden <da...@karto.baug.ethz.ch> on 2005/11/03 18:55:39 UTC
Announcement of isiMap
Dear SVG people
As announced at SVGopen 2005 Urs Hensler produced a program to Integrate
Script Interactions in a MAP (isiMap) without programming.
Finally we made a web-page where you can download this program (and the
source): http://www.geo.unizh.ch/gis/services/downloads/software/
For SVG users:
To produce interactions you have to draw your map and your navigation
elements in Adobe Illustrator (AI) or something similar and export this
as SVG. (Note: Every element that should interact needs an ID or
LayerName in AI.)
Then load your SVG in isiMap. Declare where is your main map by "set map
extend". (Follow the wizards in menu interaction.) Add interactions by
following the submenus of the "interaction" menu.
An example of what is possible is on
http://www.ika.ethz.ch/td/isiSVG/isiMap/example/Karte.svg
you find the raw SVG of this map in the Tutorial (see upper link).
For programmers:
isiMap is OpenSource, and based on batik. But the program is not yet on
a CVS or SVN-System. If you want add some code, let us know, so we may
setup a repository.
Best regards
Tobias Dahinden
Urs Hensler
--
Tobias Dahinden
-
Wissenschaftlicher Mitarbeiter Research Associate
Institut für Kartographie Institute of Cartography
ETH Zürich Swiss Federal Institute of Technology
-
HIL G14.2
8093 Zürich
Tel. +41-(0)44-633'24'86
Fax. +41-(0)44-633'11'53
-
http://www.ika.ethz.ch/td/
ftp://ftp.karto.ethz.ch/pub/
-
http://www.ika.ethz.ch/td/gps/
http://www.schweizerweltatlas.ch/
--
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org
Re: Announcement of isiMap
Posted by th...@kodak.com.
Hi Tobias,
Tobias Dahinden <da...@karto.baug.ethz.ch> wrote on 11/03/2005 12:55:39
PM:
> As announced at SVGopen 2005 Urs Hensler produced a program to Integrate
> Script Interactions in a MAP (isiMap) without programming.
> Finally we made a web-page where you can download this program (and the
> source): http://www.geo.unizh.ch/gis/services/downloads/software/
I didn't download it but I played with your example below. It's pretty
nice. It's great that people are working on making nice user/content
tools!
After playing with your example I had two small suggestions:
1) You should turn off pointer-events for the 'outlines' so the
region fills don't flicker as you pan over the windows.
2) Your scripts almost work in Batik but there is one small
problem:
--- isimapscripts.js.orig 2005-03-17 10:27:14.000000000 -0500
+++ isimapscripts.js 2005-11-05 06:59:52.811865700 -0500
@@ -309,9 +309,13 @@
csValue.shift();
//pass all changed attributes
for (var i=0; i<csValuesOld.length; i++) {
- //change the value of the attribute to the
original value
- node.setAttributeNS(null, csAttributes[i],
csValuesOld[i]);
- }
+ if (csValuesOld[i] == "") {
+ node.removeAttributeNS(null, csAttributes[i]);
+ } else {
+ //change the value of the attribute to the
original value
+ node.setAttributeNS(null, csAttributes[i],
csValuesOld[i]);
+ }
+ }
} catch (exc) {}
}
if (node.childNodes != null) {
> For programmers:
> isiMap is OpenSource, and based on batik. But the program is not yet on
> a CVS or SVN-System. If you want add some code, let us know, so we may
> setup a repository.
Do you want to write something up for the Batik example
projects/products?
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org