you will get good soluions if you add assets/custom markers by using
BitmapData directly instead of using url.

"you sholud take bimapdata of the assets/custom markers in CreationComplete
and add that bitmapdata to the map." so you wont get any security issues
while using "getPrintableBitmap"............

On Wed, Sep 1, 2010 at 11:13 PM, Jonathan Wagner <[email protected]>wrote:

> Also another note, it appears you're using 116, the latest version is
> 118, and I think it was a bug that was fixed.
>
> Jonathan
>
> On Aug 30, 6:00 pm, Maha <[email protected]> wrote:
> > Hi Pamela / Team,
> >
> > I am experiencing difficulties with "getPrintableBitmap" method from
> > "com.google.maps.Map" class. Though I followed the cross domain policy
> > as mentioned in the documentation, It throws security error. I found
> > the same problem in your demo application as well.
> >
> > Could you please fix the issue in your demo application and provide
> > the solution as well?
> >
> > Your demo application link:
> http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/PrintableMa...
> >
> > When clicks the Print button it throws the following error:
> >
> > SecurityError: Error #2123: Security sandbox violation:
> > BitmapData.draw:http://maps.googleapis.com/mapfiles/lib/map_1_16.swf
> > cannot accesshttp://
> mt1.google.com/vt/lyr...@130&hl=en&src=api&x=1&y=1&zoom=16&s=Gali.
> > No policy files granted access.
> >         at flash.display::BitmapData/draw()
> >         at com.google.maps.core::MapImpl/getPrintableBitmap()
> >         at com.google.maps.wrappers::IMapWrapper/getPrintableBitmap()
> >         at PrintableMap_fla::MainTimeline/print()
> >
> > Thanks a lot!!
> >
> > Cheers!
> > Maha
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps API For Flash" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-api-for-flash%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api-for-flash?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en.

Reply via email to