# Moving a GDIPlusRasterLayer after the map has been drawn

**URL:** <https://community.thinkgeo.com/t/moving-a-gdiplusrasterlayer-after-the-map-has-been-drawn/8379>\
**Category:** MVC\
**Created:** [January 26, 2017, 7:54pm UTC](https://community.thinkgeo.com/t/moving-a-gdiplusrasterlayer-after-the-map-has-been-drawn/8379 "2017-01-26T19:54:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joshua\_Sommers](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/j/f9ae1b/32.png) [@Joshua\_Sommers](https://community.thinkgeo.com/u/Joshua_Sommers)\
**Post date:** [January 26, 2017, 7:54pm UTC](https://community.thinkgeo.com/t/moving-a-gdiplusrasterlayer-after-the-map-has-been-drawn/8379/1 "2017-01-26T19:54:52Z")

</div>

Hi, I have a GDIPlusRaster layer coming from am image stream. Once the map is created, I would like to be able to move/scale the image to a new location, either before or after the image is drawn. I only have access to the image stream when the map is created. What would be the best way for me to go about doing this?

---

<div class="post-metadata">

**Author:** ![Johnny](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/johnny/32/19044_2.png) [@Johnny](https://community.thinkgeo.com/u/Johnny)\
**Post date:** [January 27, 2017, 3:44pm UTC](https://community.thinkgeo.com/t/moving-a-gdiplusrasterlayer-after-the-map-has-been-drawn/8379/2 "2017-01-27T15:44:10Z")

</div>

Hi Joshua,

2 options here,

1. Create the customized GdiPlusGeoCanvas, and overwrite the methods “DrawWorldImageWithoutScaling” and “DrawWorldImage”, there it has the screen coordinates and you can do any move or scale up/down the bitmap as you want.

2. Take the advantage of Projection, such as RotationProjection etc, but Map Suite doesn’t have built-in TanslateTransformProjection and ScaleProjection, you may have to create it by yourself.

Personally, I prefer the 1st option, please take a try and let me know if any problems or questions.

Regards,  
Johnny
