Hello,

I have a problem when drawing objects on Google Maps.

I have an object that drawing on your geolocation.

And I have a second object that want to draw on this, subject to see the 
same distance regardless of having the zoom map.

If we shift frame + - X for example 50 depending zoom this is very far / 
near (though offset always the same)

 

        
Paint<http://www.google.com/search?hl=en&q=allinurl%3APaint+java.sun.com&btnI=I%27m%20Feeling%20Lucky>
 p 
= new 
Paint<http://www.google.com/search?hl=en&q=allinurl%3APaint+java.sun.com&btnI=I%27m%20Feeling%20Lucky>
();
        
p.setColor(Color<http://www.google.com/search?hl=en&q=allinurl%3AColor+java.sun.com&btnI=I%27m%20Feeling%20Lucky>
.BLUE);
        
        
Point<http://www.google.com/search?hl=en&q=allinurl%3APoint+java.sun.com&btnI=I%27m%20Feeling%20Lucky>
 centro 
= new 
Point<http://www.google.com/search?hl=en&q=allinurl%3APoint+java.sun.com&btnI=I%27m%20Feeling%20Lucky>
();
        projection.toPixels(geoObject, centro);
        (draw object)    
        canvas.drawBitmap(bitmap,centro.x - bitmap.getWidth(),
                         centro.y - bitmap.getHeight(), p);

         offset en x zoom always dependent on??????  

          ¿¿¿¿¿
         canvas.drawBitmap(bitmapRelated,  ?? ,  ??  , p);
         ????

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to