RE: [OpenMap Users] Scaling Images for imagePointUrl

From: Rubén Ruiz <vinilo@cancerbero.org>
Date: Fri Jul 23 2004 - 12:50:42 EDT

Ok, it's up n' running, all my images are being resized ok.

I've changed in OMGraphicList the creation of the OMRaster by a new
OMScalingIcon with the basescale...
It works great.

Thanks to all, keep working like this..
Rubén.

-----Mensaje original-----
De: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com] En
nombre de Rubén Ruiz
Enviado el: viernes, 23 de julio de 2004 15:36
Para: 'Don Dietrick'
CC: 'Openmap-Users'
Asunto: RE: [OpenMap Users] Scaling Images for imagePointUrl

Thanks Don,
I'll try with it :)

I'll tell you all how is it going....

Thanks again,
Rubén.

-----Mensaje original-----
De: owner-openmap-users@bbn.com [mailto:owner-openmap-users@bbn.com] En
nombre de Don Dietrick Enviado el: jueves, 22 de julio de 2004 21:23
Para: Rubén Ruiz
CC: 'Openmap-Users'
Asunto: Re: [OpenMap Users] Scaling Images for imagePointUrl

Have you thought about using an OMScalingIcon? It does what you describe.

- Don

On Jul 22, 2004, at 9:37 AM, Rubén Ruiz wrote:

> 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@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
>

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe
openmap-users"]
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe
openmap-users"]
--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Jul 23 12:52:08 2004

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:39 EDT