Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

YahooMaps sample

Avatar

Former Community Member
I can run the DefaultPods app and talk to myself with
multiple browser instances (what fun) - so I am confident that my
environment is set up correctly. When I try to compile the
YahooMaps demo I get an error saying the base class SimpleMarker
(ref'ed in SharedMarker.as) can not be found. A second error is
LatLon in SharedYahooMapsModel.as can not be found.



Am I missing files, or missing something else?
1 Accepted Solution

Avatar

Correct answer by
Former Community Member
Hi,



You need to also download the .swc for yahoo maps for flex
from yahoo's website and have a yahoo developer id. You need to add
that swc to your project's library path ( like you added
cocomo.swc).

The classes like SharedMarker or LatLon are yahoo's library
classes for maps.



Thanks

Hironmay Basu

View solution in original post

10 Replies

Avatar

Correct answer by
Former Community Member
Hi,



You need to also download the .swc for yahoo maps for flex
from yahoo's website and have a yahoo developer id. You need to add
that swc to your project's library path ( like you added
cocomo.swc).

The classes like SharedMarker or LatLon are yahoo's library
classes for maps.



Thanks

Hironmay Basu

Avatar

Level 1
Hello,

I am trying to run the Yahoo Maps example and have downloaded
and added the Yahoo Maps SWC to the project's library path. But, I
am receiving the following error. "unable to load SWC
YahooMaps.swc" In the Problems window fo the Flex Builder tool the
Location filed shows Unknown.



Any ideas?

BB













Avatar

Former Community Member
Hi,



Sometimes there are problems with some version of the
yahoomaps.swc . Try out a different version and clean and rebuild
and see what happens and let us know.



Thanks

Hironmay Basu

Avatar

Level 1
ok I will try. Which version do you recommend????

BB

Avatar

Level 1
I have downloaded and installed version YahooMap-0.9.4.swc.

I now have the following 3 errors.

-------------------------------------------

1046: Type was not found or was not a compile-time constant:
CocomoCollection.

on Element: SharedYahooMapsModel.as

Line 45



-------------------------------------------

1180: Call to a possibly undefined method CocomoCollection.

on Element: SharedYahooMapsModel.as

Line 45



What should I try now?





Avatar

Former Community Member

Hi BB9000

Have you got any solution related to yahooMaps Sample error, because I am getting the same errors and I couldnt resolve it. I dont know why I havent got any response related to my question here. Is there any other place or forum where I can report these problems of yahoomap cocomo sample application come with the latest sdk samples folder.

1046: Type was not found or was not a compile-time constant: CocomoCollection.

on Element: SharedYahooMapsModel.as

Line 45

-------------------------------------------

1180: Call to a possibly undefined method CocomoCollection.

on Element: SharedYahooMapsModel.as

Line 45

Regards

rommy

Avatar

Former Community Member

Hi Garlish

Could you please help me, if you have already run the yahoomap sample, because you are the lucky one, who run this app successfully.

Regards

rommy

Avatar

Employee

Hi,

The sample is a bit outdated as it was one of our very first apps. Please do refer to other sample apps for correct configuration, and the other control and UI logic dealing with Yahoo Maps should be the same. I wish I could fix the app, but would take some time

Cheers

Arun

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----