[OpenMap Users] Scaling Images for imagePointUrl

From: Rubén Ruiz <vinilo_at_cancerbero.org>
Date: Thu, 22 Jul 2004 15:37:29 +0200

Hi all,

i`m trying to implement a re-scaling method for the images showed in every
point using the imagePointUrl Property when the mapbean is zoomed in/out.

I wonder if any of you could help me to find the correct place to do this
operation.
The escaling operation is quite simple, just multiply the size of the image
by the % of scale, and return the new scaled image, but the complexity is
where to put those lines.

I've seen that the rendered objects corresponding to the images on the
screen are OMRaster objects. I'm looking for a place where my code can be
located and trying to avoid a bottle-neck in the rendering process.When the
scale changes, i've to call this method to scale the image and leave it in
its place for the rendering process..

Where's the main rendering process made for shape layers?

I'm thinking another way to make a similar scaling efect; maybe chaging on
the fly the source file of the image for other file with the scaled image.
It this case i'll need 2 or 3 iamge files and switch them on the fly
depending on the scale, is it posible?

Any help or ideas will be welcomed..
Thanks in advance,
Rubén.


--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Jul 22 2004 - 09:39:42 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:05 EDT