You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#1 2011-02-21 14:13:37

gkaefer
Member
From: Salzburg
Registered: 2009-06-09
Posts: 2669
Website

default size of map-preview

default sourcecde produced by PTP if you enable map is:
   

Code:

<plugin name="map" url="pano-data/map/map.jpg" keep="true" align="lefttop" x="10" y="10" width="23" height="40" handcursor="false" onloaded="action(hidemapspot);" onclick="action(openmap);"/>

if the map is in original size 258 * 439 pixel. So I assume your allgorythm says per default 10% or orig size place the default map on top left corner...

my screenshot shows the default map at 20%, I hardcoded xml to "width="46" height="80" and this is still very small, but now recognizable....

featurerequest: after uploading map image PTP can calculate the default 10% valuefor the map preview. It would be perfect than to have an option field showing these width and heights pixel values so you can adopt if desired... Or alternativley having a slider where you can change between 0-100% of original map size.

Liebe Gruesse,
Georg


Uploaded Images

Last edited by gkaefer (2011-02-21 14:28:42)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson