I am attempting to build an application that uses the Google Maps Add-On.

I get compile errors on this code:

GeoPoint status=new GeoPoint((int)(lat*1000000.0),
                                (int)(lon*1000000.0));

saying:

[javac] StatusMap.java:31: cannot access com.google.map.MapPoint
[javac] class file for com.google.map.MapPoint not found

My guess is that MapPoint is some superclass of GeoPoint -- I'm not
referring to MapPoint itself in my code anywhere, let alone where the
compile error is.

If I comment out these lines (and references to the now-missing status
variable), everything else works fine, including displaying a map, so I
know I'm targeting everything properly.

While this project is one that I am migrating from earlier Android
versions, I get the same error if I "android create project -t 3" a
fresh project and try using this same code.

I could have sworn I compiled this cleanly on 1.5r1, though I may be
mistaken.

Anybody running into similar problems with 1.5r2?

Thanks!

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, $35/Year

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to