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/PrintableMap/PrintableMap.html

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 access 
http://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].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en.

Reply via email to