Not able to run the sample google map mashlet "Sample.GoogleMap"

pridesh
User offline. Last seen 1 year 8 weeks ago. Offline
Joined: 08/04/2009
Points: 30

Hi,

I am using Presto 2.7 and trying to run the sample mashlet "Sample.GoogleMap". Its coming up blank for me

I have obtained the necessary google maps API key and updated it in mashlet.json, libraries-config.js and also into 'Sample.GoogleMap' mashlet entry into mashlet.json.

Despite on this I see no success. Also I do not see google maps as one of the renderer in presto Wires.

Am I missing anything? I tried everything which is available in documentation.

Regards,

 

 

0
Your rating: None
kishores
User offline. Last seen 38 weeks 1 day ago. Offline
Joined: 09/22/2008
Points: 81

Hi pridesh,

1) Enable Sample.GoogleMaps in mashlet.json. See the Sample.GoogleMap/src.js (see comment at the top) for the entry you need to add to mashlet.json.

2) Did you create an instance of the Sample.GoogleMaps mashlet ? To do this, go to http://server:port/mashlets -> Create From Type -> Sample.GoogleMap -> follow the wizard to create a mashlet instance.

Please post your findings here.

madhu.viswa
User offline. Last seen 1 year 45 weeks ago. Offline
Joined: 02/05/2010
Points: 10

Hi,

I am new to jackbe presto and trying to run the sample google map example. During Mashlet creation, I m able to sucessfully preview the mashlet(with map ).but after publishing the mashlet it is not loading the map. The mashlet shows correct input parameters and title. but the map doesn't show up.

Did any one tried this example?  Am i missing any step?

aishmishra
aishmishra's picture
User offline. Last seen 10 weeks 6 days ago. Offline
Joined: 09/24/2008
Points: 3

Hi Madhu,

i. Could you explain how are you trying to create the Google Map example. It will help if you can provide the steps.

ii. Which service are you using to create the mashlet?

Thanks for your patience.

nzblue_fish
nzblue_fish's picture
User offline. Last seen 2 weeks 4 days ago. Offline
Joined: 09/30/2009
Points: 1165

Hi All,

I can confirm that this is an issue. I never did get the Google Sample mashlet working. When you use the MashletMaker and 'create from type' (Sample.GoogleMap), the mashlet renders fine as shown in this image:

but when you publish the mashlet and then view it using the standalone html page, the map is not rendered as shown here:

Hope this helps.

Cheers, Innes

nzblue_fish
nzblue_fish's picture
User offline. Last seen 2 weeks 4 days ago. Offline
Joined: 09/30/2009
Points: 1165

Hmmm ... well that wasn't very helpful was it. The images don't show up after posting, but do show up when you edit the post. Go figure ... so here they are as attachments.