Hi,
I have a flat pano (a country map) on which I put regions hotspots with svg files (with "rollover" and "selected" effects) but I can't make them match when resizing the window. I've tried all (I think) but either the svg doesn't resize, or it doesn't match exactly the position with the map. What is the right hotspot, with which parameters? Is there an example to follow with?
Thanks
Philippe
Scalable SVG
- Hopki
- Gnome
- Posts: 13004
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Philippe,
You can use Modifiers to change the scale of the hotspot with FoV (zoom)
Use Target: Scale
Source: 1/tan(FoV)
Factor: 1.000
Offset: 0.0
Use the offset to adjust initial size.
Regards,
Hopki
You can use Modifiers to change the scale of the hotspot with FoV (zoom)
Use Target: Scale
Source: 1/tan(FoV)
Factor: 1.000
Offset: 0.0
Use the offset to adjust initial size.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Hi Hopki,
Thanks for your response.
The result is that if I resize the window horizontally, the svg keeps the approximately the right size, and if I resize down the window vertically, the svg grows up !...and If I resize the window and keep the ratio L/H, the svg resizes down. Very difficult to understand this behaviour !
Philippe
Thanks for your response.
The result is that if I resize the window horizontally, the svg keeps the approximately the right size, and if I resize down the window vertically, the svg grows up !...and If I resize the window and keep the ratio L/H, the svg resizes down. Very difficult to understand this behaviour !
Philippe
- Hopki
- Gnome
- Posts: 13004
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Philippe,
Yeah, looking further into this, works fine on a 360 but as you say not good for a flat image.
Probably looks better without it.
Ill add a note to the developers.
Regards,
Hopki
Yeah, looking further into this, works fine on a 360 but as you say not good for a flat image.
Probably looks better without it.
Ill add a note to the developers.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/