Gis viewer questions

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
7 posts • Page 1 of 1
jsobon
Posts:8
Joined: Fri Dec 16, 2016 1:42 pm

Gis viewer questions

Post by jsobon »

Dear support,

I have couple of questions related to GIS object/functionality.
1.) For GIS ewo object (GisViewer_ewo1), is there possible to see zoom factor that is used as variable? I mean, during initialization of panel, map files are loaded, then user can scroll with mouse wheel to zoom in. Can I see „zoom level“,.. or „zoom factor“ that is applied to map?
2.) I would like to implement functionality, that based on change zool level will make some actions. Object GisViewer_ewo1 does not support Change or zoom change event. Is it possible to do something like this with gis viewer object?

Thank you

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Gis viewer questions

Post by mkoller »

have a look into the extended properties tab in Gedi. You'll find the ZoomFactorChanged() event script.
There seems to be no property yet to get the current zoom factor.

jsobon
Posts:8
Joined: Fri Dec 16, 2016 1:42 pm

Re: Gis viewer questions

Post by jsobon »

Thank you very much! this could be solution for my problem.

jsobon
Posts:8
Joined: Fri Dec 16, 2016 1:42 pm

Re: Gis viewer questions

Post by jsobon »

Hi,

I have one more question. Not sure even if this is possible to do in gisviewer, so I would like to check it.
Could you please tell me if in gisviewer is possible to show on map graphics objects like traffic sign's? Also if those objects could change values/states dynamically and if those objects will have same size when user will zooming.

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Gis viewer questions

Post by mkoller »

Yes, it is possible to show Panel References inside the map.
Check the help at qthelp://wincc_oa/doc/Control_Grafik/setShapePVSSSymbol.htm

jsobon
Posts:8
Joined: Fri Dec 16, 2016 1:42 pm

Re: Gis viewer questions

Post by jsobon »

Thank you!

one more question: Is in GIS possible to add dynamic object to layer (map) to any place (not to shape)?

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Gis viewer questions

Post by Gertjan van Schijndel »

The shape in the 'setShapePVSSSymbol' can be a point in the layer as the example shows.

7 posts • Page 1 of 1