My favorites | Sign in
Project Logo
             
New issue | Search
for
| Advanced search | Search tips
Issue 853: Feature Request: Let Developers call BitmapData.draw to Enable Flash Effects/3D
96 people starred this issue and may be notified of changes. Back to list
Status:  Acknowledged
Owner:  pamela.fox
Type-Enhancement
ApiType-Flash


Sign in to add a comment
 
Reported by pamela.fox, Nov 14, 2008
Many developers would like to use maps with Papervision3d and other Flash
effects/transitions, and these require taking snapshots with
BitMapData.draw(). Currently this is not allowed due to terms of service
restrictions - the tiles must be displayed with the correct attribution,
and they cannot be massively harvested.

Please star this issue if this concerns you and also attach
code/screenshots of what you're trying to do, so that we can understand the
use case for allowing this.

*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************

Comment 1 by soujack, Nov 14, 2008
Possibility of obtaining the bitmap of the screen where the map this! Without it we 
can not do simple animations on screens with the googlemap
Comment 2 by pamela.fox, Nov 25, 2008
 Issue 887  has been merged into this issue.
Comment 3 by fotis.chatzinikos, Nov 26, 2008
This is needed for effects to work properly...For example I create a map that i slide
in from the left and remove to the right...
Comment 4 by seanb.storage, Dec 03, 2008
I added the map to a book component and when it does the flip I get the above error.
 Doesn't look like there's an easy way out of this.
Comment 5 by andyba...@smoothe.com, Jan 07, 2009
I've been trawling forums etc regarding googles map api, gmap, umap etc and am 
pleased to see a proactive stance from Pamela at google, well done. For a user to be 
able to print a map form a non commercial page is fundamental, have we just gone 
back 2 decades.
Comment 6 by anthony.tripaldi, Jan 07, 2009
have google maps set up to find certain brands located near you for a liquor company. using papervision on the 
transitions ( spinning the information around and the next page you chose is on the back ) and in order to switch 
from my active movie clip to my flip animation, i use bitmapdata.draw and paste it into a papervision plane that 
rotates. this seems so simple i hope they fix it soon.
Comment 7 by lynxmap, Jan 17, 2009
Having the ability to create useful applications that users can print their results to view later is essential.  Because 
of the variance of browsers printing capabilities, being able to save to PDF seems like the only reliable way to do 
this.  I think it is critical to allow saving/custom printing and programming access to the map images.
Comment 8 by NoNullPointer, Jan 21, 2009
I would like to assist transit agency's in creating pdf's of thier routes using the 
same data they are using in Google Transit using Alive PDF. It can be done using 
Air. See attached.
generate.pdf
6.5 KB Download
Comment 9 by thatguyrich, Feb 18, 2009
I am creating a site where the transition to one section involves the screen freezing
and then burning away. I apply a distortion map filter to a dynamic screenshot. This
works for all areas of the site except the one using google maps. It would have been
great to have a workaround for this, we will have to remove the transition entirely now.
Comment 10 by spikything, Feb 19, 2009
Agreed. It's quite a drawback not being able to access the images as data, only as
content. Something to petition both Google and Adobe about?
Comment 11 by makc.the.great, Feb 19, 2009
all google has to do is to host cross domain policy file. there was enough time 
since Nov 14, 2008 to do so, unless they do not want to.
Comment 12 by goo...@soma2.de, Mar 03, 2009
We need it to get smoother transitions. It is really hard to tween google maps. 
thanks in advance
Comment 13 by ranjith.aarthika, Mar 28, 2009
yes,its a very basic necessity
Comment 14 by kristofrasschaert, Apr 28, 2009
I was going to use it in our company website, but because of these problems I think I
also have to remove it! What a pitty!
Comment 15 by mail.simonlenoir, Apr 29, 2009
RIA should be able to have effect on maps...
Comment 16 by agile.guo, May 21, 2009
It's a real annoying problem :(,so cause I can not use gmap
Comment 17 by pamela.fox, May 24, 2009
Changing status of "Accepted" issues to "Acknowledged", to clarify their 
state.

We may not be able to resolve all bugs or fulfill all feature requests, but 
we do thank you for filing them, and we will continually revisit all 
acknowledged issues and evaluate their feasibility. Thanks!


Status: Acknowledged
Comment 18 by makc.the.great, May 25, 2009
Does this *really* means "rejected"?
Comment 19 by pamela.fox, May 25, 2009
No, it doesn't. I applied the same change to all "Accepted" issues - it's just a 
change in wording. Feature requests could be fulfilled at any time.
Comment 20 by hatem.taleb, Jun 01, 2009
Could we have an ETA for this issue?
Comment 21 by jerome.maureydelaunay, Jun 14, 2009
Same here. I was going to use gMap + Away3D. Now I have to find another solution.
Comment 22 by keesvandorp, Jun 18, 2009
This feature is really a necessity, any news about this?
Comment 23 by gerbster, Jun 26, 2009
This would indeed be a very useful feature!
Comment 24 by abavisg, Jun 28, 2009
Could we have an update on the issue?
Comment 25 by hatem.taleb, Jun 28, 2009
this is becoming really urgent, I am stuck and I can any solution to get rid of the
sandbox error message :(
Comment 26 by l.tomalak, Jul 18, 2009
There is any new information about psoibility to use BitmapData.draw() in flash?
Comment 27 by hubert.brzostowski, Aug 04, 2009
This is some kind of bug. If all applicaction in flex use some effects you have to
avoid using effect in part of for e.g site because there is a map. More over there no
way to use more complex effects that use masks. Only Fade is some kind of solution.
Comment 28 by hubert.brzostowski, Aug 04, 2009
This is some kind of bug. If all applicaction in flex use some effects you have to
avoid using effect in part of for e.g site because there is a map. More over there no
way to use more complex effects that use masks. Only Fade is some kind of solution.
Comment 29 by edward.syrett, Aug 05, 2009
As I understand it, Google didn't want anybody to be able to be able to call
BitmapData.draw() on a map to harvest the bitmap.  Both this issue (853) and  issue
545  to do with priting a map arose because of this issue.

However, it now appears that  issue 545  has been fixed by adding a new function
getPrintableBitmap().  But what about this issue?  The need to run effects over maps
hasn't gone away, so if the printing can be fixed, can we have this one fixed as well
please?
Comment 30 by makc.the.great, Aug 05, 2009
holy ... their solution to  issue 545  clearly indicates that there is no chance for 
positive resolution to BitmapData.draw :( it is sad to see google map team being 
such a security paranoids.
Comment 31 by jerome.maureydelaunay, Aug 05, 2009
This is as far as I could take the visuals without the use of BitmapData.draw().
http://www.stcassociates.com/clients/STC/locationsMap/demo/stc08-gmap-002.html

Simple de-saturation (Tweener.addTween(gMapHolder, {_saturation:0, time:0});).

I made this quick demo last year. I also experienced the failure when I tried to map
gMap in Away3D. I created a demo that uses gMap's geo-location API, just not the
visuals. I figured we could switch to a 2D view on-click on a location.
http://www.wemakedotcoms.com/_projects/stc09/locationsMap/STC_Locations_Map_3D.html

Cheers,

Jerome.
Comment 32 by manimalcruelty, Aug 06, 2009
Guys, this is a MAJOR let-down. You can't create a Flash API and then disable a major 
feature which in turn prevents the use within Flash 3D engines. I'm using Away3D and 
want to use the map on a Plane's material texture. Here is a demo of your failure:

http://gw.bluebarracuda.com/BB/philip/streetcorner_googlemapsfail/

Please don't allow bureaucracy to stifle your/our potential for creativity and 
innovation! It's one thing requesting a feature that hasn't yet been created, but 
it's completely another disabling existing functionality. What ever happened to 
Google's "Don't be evil" philosophy?
Comment 33 by pamela.fox, Aug 06, 2009
If other developers weren't evil and scraping our tiles, we would feel much better 
offering this functionality. :)

We'll continue looking for solutions that would both honor our data provider 
contracts (and their need for tile protection) and enable developer flexibility, but 
it's been a non-trivial problem. Thanks for your patience.

Take a look at the new native built-in 3d perspective in the API, perhaps it can help 
you with your project.
Comment 34 by manimalcruelty, Aug 06, 2009
@pamela.fox

"the tiles must be displayed with the correct attribution,
and they cannot be massively harvested"

OK, fair enough. Keep this in the terms of service, and penalise anyone who violates 
this. There are many other points in the Terms of Service that you don't/can't 
enforce with preventative technical barriers, but instead simply penalise people who 
violate them.

You're using a bazooka to kill a mosquito here and subsequently stopping legitimate 
usage. Your tactics come from the same mindset as DRM.
Comment 35 by lynxmap, Aug 06, 2009
Thank you Pamela and Google!!

I have found the map.getPrintableBitmap() call to be all I need to provide my clients with printable maps of what 
they see on screen.  It works great!

Thank you thank you.

cheers
Comment 36 by makc.the.great, Aug 06, 2009
this is ridiculous, when someone "scrapped the tiles" in flash for the first time by 
porting javascript code, his project was featured on google code front page and 
generally was praised. now people trying to do the same thing are treated as theifs.
Comment 37 by manimalcruelty, Aug 07, 2009
Hey Pamela, don't get me wrong. I don't mean to sound ungrateful for what you've 
obviously put blood, sweat and tears into. You've done an absolutely amazing job! And 
I'm sure, as a developer yourself, you probably share my sentiments. The new Map3D is 
amazing, and I'll hopefully find a use for it on future projects. Please keep this 
request active though :)

@makc - always good to see you around! lol
Comment 38 by bartvanderschoor, Aug 25, 2009
We'd like to have this feature.

But note you can actually do a lot if you nest the Map in a Sprite and animate it,
also most filters will work.
Comment 39 by fusionpage, Nov 30, 2009
Security sandbox violation: BitmapData.draw error 
Comment 40 by fusionpage, Nov 30, 2009
Any fix for this issue now in December 2009?
Comment 41 by mr.ian.appleby, Dec 01, 2009
Read the docs: BitmapData.draw coudln't be implemented, but map.getPrintableBitmap()
was added some time ago and can be used for most situations with a little effort.
Comment 42 by hatem.taleb, Dec 01, 2009
I don't see how we can use getPrintableBitmap inside flex :(

Please star this issue, thanks!

Comment 43 by fusionpage, Dec 01, 2009
Agree.  "Reading the docs" doesn't help me with Flex.  I take it there are no plans
to support it any time soon? 

Anyway, the 3D Maps API rocks!  It just would be great if you could work in this new
feature somehow ... someway.  Thanks!
Comment 44 by juandelia, Dec 01, 2009
Good Morning,

Could you please add a flag that the devs could use, under our responsibility, to
activate this feature?

I mean, what could be the possible damage on give this feature? Maybe there are some
big security issues we all commenting here are not considering and would be great to
hear them from someone.

Thanks for your time,
Juan
Comment 45 by bjaysheel, Dec 01, 2009
Hey guys,
   Does anyone have a work around when google map is used in a flex component which
has effects attached.  I have a google map in a flex panel that plays hide/show
effect.  I tried to listen for the hide effect and remove the map, but that didn't
work.  Any other ideas?

Thank you,
Jay
Sign in to add a comment

Hosted by Google Code