Feedback on the Virtual Earth webparts

Feb 6, 2008 at 2:18 PM
Please post any questions/remarks you have in this discussion.
Feb 7, 2008 at 8:39 AM
Edited Feb 7, 2008 at 10:50 AM
Need help configuring Virtual Earth Map WebPart. What is supposed to be in:
LocationsList ID
LocationsList WebID ??
are they the same?
Feb 12, 2008 at 12:37 AM
LocationsList ID will be the Guid of the list with the locations
LocationsList WebID is the Guid of the SPWeb where the list is in.

Creating a more useful editorpart is still on the list.
Feb 13, 2008 at 10:32 AM
I have in VEMap webpart:
ERROR!
Unable to load source file.

TamTam...dll files are in GAC on server, Tam Tam Virtual Earth Components is activated.

help
Feb 13, 2008 at 12:58 PM
The errors indicates that the webpart is unable to receive correct georss xml from the httphandler. These are the things you can check:
  • Is the HTTPHandler locationsearch.ashx present in the _layouts/virtualearth folder?
  • Are the id's of the web and the list with the locations correct?

There's a VEMapHelper.js file in the _layouts/inc folder. In this file there's a function for building the request to the httphandler. You can try to recreate that url to see in the handler generates an error.
Mar 20, 2008 at 8:18 PM

zelazko wrote:
I have in VEMap webpart:
ERROR!
Unable to load source file.

TamTam...dll files are in GAC on server, Tam Tam Virtual Earth Components is activated.

help

I'm having the same issue, checked all the items listed but still a No GO. Where you successful?
Mar 21, 2008 at 8:08 AM
There's probably an error in the handler that generates the GeoRSS feed. The way to check this is to enter the request the javascript executes directly in the address bar.
The needed parameters for the handler are:
*listid (the guid of the list)
*webid (the guid of the web
*hlat, llat, hlng, llng (you can fill in -90 for the l-ones and 90 for the h-ones it will return all items in the list)
*titlefld (name of the title field so propably "title")
Mar 25, 2008 at 5:09 PM
The url looks good, I get an error that SP connot find the ashx file.
Mar 28, 2008 at 11:15 AM
Hi,

I'm kind of newbie in the Sharepoint 2007 environment. I'm trying to install the Tam Tam Virtual Earth Webpart but I didn't find where is the place where I can "Activate the Tam Tam Virtual Earth Components feature". I've searched in Central Administration > Manage farm features and also in the main site > site settings > Site features and I didn't find any VE Components features.

Can you tell me where could I found them?

I should mention that I added the TamTam solutions with CLI (stsadm ... ) and deployed them in the Central Administration > Manage Solutions.

Thanks.
Mar 30, 2008 at 12:13 PM
still having issues with the virtual earth webpart

checked list and web id (are in place)
checked webparts installation (ok)
files available

still get message unable to load source file.
search window doesnt show the adresses in the listing
Apr 11, 2008 at 11:33 AM
I installed virtual earth webpart but map is not displayed inside of web part. It appears on top left of the screen.
Do you have any suggestions?
Apr 19, 2008 at 6:19 AM
Edited Apr 19, 2008 at 6:21 AM
@Thomas_Seattle
So the handler is present in the right folder but sharepoint cannot find it? Is something changed in the iis website so it doesn't serve ashx anymore?

@orlyro
You need to check the site collections feature. It should be in there.

@rrijk
If you put the following url in the addressbar:
_layouts/virtualearth/locationsearch.ashx?webid=<webid guid>&listid=<listid guid>&hlat=90&llat=-90&hlng=90&llng=-90&titlefld=title
do you get any results then?

@keremozen
The html sharepoint generates by default is a bit crap. Virtual Earth has some positioning problems in some browsers in SharePoint html/css. Cleaning your html/css could help.
Apr 21, 2008 at 11:34 AM
Peter,

message is file not found
after adding _layouts/virtualearth/locationsearch.ashx?webid=<webid guid>&listid=<listid guid>&hlat=90&llat=-90&hlng=90&llng=-90&titlefld=title (of course with proper webid & listid)


thx

rob de Rijk

May 14, 2008 at 8:14 PM
Thanks for creating this...
I am really eager to get it to work but I am getting the same "unable to load source file" error - If I put the suggested path to the ashx and the proper parms I do get an rss page that says "dummy" --the js file appears to have the proper path to the ashx
var LocationSearchHandler="/_layouts/VirtualEarth/LocationSearch.ashx";

has anybody actually gotten this to work yet - based on these instructions?
If so what sort of tweaking did you try- I feel like I am missing something -
I wonder what the "source file" is that it is unable to load? - the handler file?


May 14, 2008 at 9:01 PM
Thanks for creating this...
I am really eager to get it to work but I am getting the same "unable to load source file" error - If I put the suggested path to the ashx and the proper parms I do get an rss page that says "dummy" --the js file appears to have the proper path to the ashx
var LocationSearchHandler="/_layouts/VirtualEarth/LocationSearch.ashx";

has anybody actually gotten this to work yet - based on these instructions?
If so what sort of tweaking did you try- I feel like I am missing something -
I wonder what the "source file" is that it is unable to load? - the handler file?


May 28, 2008 at 7:51 AM
I'm beginning to think it may be a regional settings issues. Can you post the xml of the RSS feed? Locations should contain coordinates with a decimal point, not comma's.

If this is the case I will update the code to fix this issue.
Jul 7, 2008 at 8:36 PM
Alright, I deployed both of these solutions but I don't see the feauture in the site collection(wss 3.0).  What am I missing?  Thanks


tamtam.sharepoint.virtualearth.wsp Deployed http://oursite/
tamtam.sharepoint.wsp Deployed Globally deployed.
Jul 8, 2008 at 6:46 AM


abe_thietten wrote:
Alright, I deployed both of these solutions but I don't see the feauture in the site collection(wss 3.0).  What am I missing?  Thanks


tamtam.sharepoint.virtualearth.wsp Deployed http://oursite/
tamtam.sharepoint.wsp Deployed Globally deployed.



Deploying it should do the job. Is the feature folder added to the TEMPLATE\FEATURES folder?
Jul 8, 2008 at 2:23 PM


peterge wrote:


abe_thietten wrote:
Alright, I deployed both of these solutions but I don't see the feauture in the site collection(wss 3.0).  What am I missing?  Thanks


tamtam.sharepoint.virtualearth.wsp Deployed http://oursite/
tamtam.sharepoint.wsp Deployed Globally deployed.



Deploying it should do the job. Is the feature folder added to the TEMPLATE\FEATURES folder?


Yes, I finally ended up having to use stsadm activatefeature command.  How do I get the LocationsList WebID?
Jul 10, 2008 at 2:25 PM
How do I add a link in the popup description field?

Thanks
Jul 10, 2008 at 3:09 PM
Edited Jul 10, 2008 at 3:15 PM
You can use a Rich Text Html field for the description. You may have to change the included content type and the webpart settings.
Jul 11, 2008 at 9:41 PM
Perfect.  I love it.  Any ideas how I can easily change the pushpin icon to something else, maybe a dot?

http://dev.virtualearth.net/mapcontrol/v6/i/bin/1.0.20070926140324.39/pins/poi_usergenerated.gif

Thanks for all your help

Jul 14, 2008 at 11:00 AM
To change the pushpin icon you will have to change the javascript file. See earlier in the discussion for the location of the file.

You will have to include code in the onFeedLoad like the following to loop through the nodes and change the icon:

for (i=0; i < shapeLayer.GetShapeCount(); i++) {
        var s = shapeLayer.GetShapeByIndex(i);               
        s.SetCustomIcon("<img src=\"/_layouts/1033/images/custompin.gif\" />");
    }
Aug 11, 2008 at 1:48 PM
I am having an issue getting this working, i tried testing the following link (local dev enviro) Getting Cannot load source file

http://slcoes:8083/cw/mve/_layouts/virtualearth/locationsearch.ashx?webid=c29887f8-eaa5-4ea7-9b4a-0f2c9cbf7b54&listid=3FAB29ED-25BA-41C4-82E6-002048ABC324&hlat=90&llat=-90&hlng=90&llng=-90&titlefld=title

I got file not found

I also tried (the link below reselmbles the javascript code)

http://slcoes01:8083/cw/mve/_layouts/virtualearth/locationsearch.ashx?&hlat=90&llng=-90&llat=90&hlng=-90&titlefld=title&listid=3FAB29ED-25BA-41C4-82E6-002048ABC324&webid=c29887f8-eaa5-4ea7-9b4a-0f2c9cbf7b54

and got file not found

After reading all of the other posts, I checked everything in my deployment and it all seems correct.
Does this web feature have to be on the root site? Does it need the site collection web id?
Sep 4, 2008 at 2:20 PM
Edited Sep 4, 2008 at 2:21 PM
I've found the List GUID with these instructions:
http://weblogs.asp.net/jimjackson/archive/2008/02/11/get-a-sharepoint-list-guid-from-the-browser.aspx

But how can I get the SPWeb GUID ?

Thanks in advance.
Sep 4, 2008 at 2:33 PM

Install the Sharepoint inspector.
http://www.codeplex.com/spi

 

Sep 11, 2008 at 9:21 PM
I have tried to implement this from the limited setup documentation and reading and trying everything in this discussion. I am still getting the error:

ERROR
unable to load source file


Has anyone got past this error, it looks as if a few of you have...any suggestions?

I have both of the solutions deployed correctly and the feature has been activated. My ListID and WebID appear to be correct from what I can see. But when I try to use the URL:

_layouts/virtualearth/locationsearch.ashx?webid=d687310e-66d0-4a60-ab18-2e76d5def1ae&listid=6cbe4c65-cf90-4d8e-9b5e-af63fa881be7&hlat=90&llat=-90&hlng=90&llng=-90&titlefld=title

I get a response from Sharepoint saying:

List does not exist
The page you selected contains a list that does not exist.  It may have been deleted by another user.

I do however see the list in my quicklaunch along the left hand side so I know its there...

When I look in IIS for the HTTPHandler:  locationsearch.ashx I can see it in the _layouts/virtualearth folder...what am I possible doing wrong?

Thanks for any help.

-dc*
Sep 16, 2008 at 1:56 PM
It seems like the handler isn't handled by iis so it's passed on to sharepoint that generates the error.

Maybe you check if this is the problem by creating a simpler handler yourself. (i.e. http://www.brainbell.com/tutorials/ASP/Generic_Handlers_(ASHX_Files).html)
Sep 17, 2008 at 2:27 PM
Hi Peter,

Thanks for replying, I am new to all of this as you might have noticed. I did follow your link to building a "simple handler" however I dont understand what this is going to do for me? I get the exact same result as shown in the link you provided. Things seem to be working when I go here:

http://localhost/_layouts/VirtualEarth/CustomFormHandler.ashx

However when I try to go here:

http://localhost/_layouts/VirtualEarth/LocationSearch.ashx

I get an ERROR:

Unknown Error

Troubleshoot issues with Windows SharePoint Services.

Now how do I apply that to the Sharepoint / Virtual Earth integration? Do I need to somehow create a new handler for it to work, if so could you please explain how? I really wanna get this to work.

Thanks for your help in advance!

-dc*

Sep 17, 2008 at 2:44 PM
So the handler you created is correctly displayed?

Apparently there's an error in the LocationSearch handler. Unfortunately the handler is lacking some error logging code, so it won't be easy to see where it goes wrong. (Sharepoint log files are not known for their readability)
I won't be able to help you at the moment. I do hope to release a newer version that does include some basic error handling.
Sep 17, 2008 at 3:45 PM
Hey,

Yeah the handler is displaying correctly, I understand that you cannot help me but is there anyway I can get the source files for this so I can try to work this out myself?
Dec 11, 2008 at 8:51 PM
Edited Dec 11, 2008 at 8:57 PM
I get the error "Unable to load source file".  I would guess this is due to one of two issues I am having:

1.  Unsure as to how to find SPWeb.  I have downloaded SharePoint Inspector but don't really understand which item I am trying to find.  Any suggestions on which path to take to get the correct Id?  Do I need to include the brackets in the ID?
2.  I am using this on an Intranet site.  It is not exposed publicly.  I can get out to the Internet however.  Is this an issue?

Also, I have the Tam Tam parts deployed, but I have only Activated the Tam Tam Virtual Earth Components (I did not activate the Tam Tam - Jobs - Clean Up Profiles or the Ensure Mysites).  Do I need to Activate these features?
Dec 11, 2008 at 9:03 PM

To find the location list ID you will need to open the SharePoint inspector and navigate to the list and it will tell you what the ID is, no brackets required. (services>windows sharepoint services web application>web applications>site>site collections> site collection etc…) The location list web id is the ID field of the site, in my case this site is a sub site of the site collection.

No your SharePoint environment does not need to be accessible to the internet.

Abe

Dec 11, 2008 at 10:37 PM
I now have the correct ids entered, but I still get the same error.  I've restarted IIS.

When I created the list, I used the column type of "Location Coordinates".  I did not see the "Item with Location" content type.  Is this correct or is there some other column type I should use when creating the list? 

I've tried the url ideas _layout and I get the following error:

One or more field types are not installed properly. Go to the list settings page to delete these fields.

Any ideas?
Dec 17, 2008 at 5:42 PM
Hey boblam,

I have been trying to get this to work for a few months now as well, as you can see there is not much support for this project. I have requested the source files for this project to see if I can work out the errors I am recieveing and then repost for others to use, I have not been replied to yet. Please keep this board updated if you are able to find a work around.

At one point I believe they said they were going to try and release an actual working copy of this in the future sometime but no release date or info has been relayed since.

Thanks 

dc*
Dec 18, 2008 at 6:33 PM
I've seen an error like this in other web parts.  It typically means that you have defined some column that the web part requires incorrectly.  I'm looking for someone that has this web part working to define what the basic list is supposed to look like.  I didn't understand the description of it.  Basically what are the columns required for this list and what type are they?
Dec 22, 2008 at 9:10 AM
I finally got round to uploading the sourcecode for the project. You can find it on the project wiki page.
Unfortunately, the original sourcecode got lost in the somewhere this year. So I uploaded a modified version which we used for a customers project.
It contains a toolpart to help locating the web/list.
Dec 22, 2008 at 9:11 AM
Edited Dec 22, 2008 at 9:12 AM
@boblam:
If you use the included contenttype to create a list, it should contain the needed columns to get a correct georss feed from the handler.
Apr 14, 2009 at 8:52 AM
Has anyone found a solution?
May 20, 2009 at 9:17 AM

The map is not showing up in the webpart page.

I retrieved the Webid from SharePoint Inspector (see above post). ListID from the list settings.

Listid: 9262136c-d9fe-4013-9de2-54947c68605f
Webid: b571adef-88b2-4f2f-b29f-bdc347695a11

After putting these two in, the error vanished. But I still don't see the map displayed in my page! Anybody know what is going wrong?

Nov 26, 2010 at 12:16 PM
Edited Nov 26, 2010 at 12:19 PM

Hi Peter,

Nice Web Parts but unfortunatly like the rest of the people above I'm getting some problemes as well (Unable to load sourcefile...).

I installed the *.wsp with stsadm and activated the feature.
After that I was able to put both web parts on my page in this order.

  • Virtual Earth map
  • Virtual Earth Controller

Then I created a custom list which I called "Virtual Earth Locations" and added the ContentType that was already made by the sollution.
I searched for the latitude and logitude of my location using this nice website http://www.oiepoie.nl/kaart/coord/. So now theirs some data to show.

Now I configured the Virtual Earth Map web part with the help of the SharePoint Manager 2007 (also from Codeplex) I found these credentials.
The same logitude and latitude for LocationLogitude and LocationLatitude as I found with www.oiepoie.nl for my startingpoint.

and

  • LocationListID 33ffbaa2-dcbc-4fd7-b9e1-28df5d159d46
  • LocationList WebID 582bfd21-dd30-46f2-b6d4-6dcec117956c
  • LocationList Title Field This one is not really clear to me.

If I look in at the field I find Title three times with diffrent ID's I tried them all with no succes. I also tried to make up all kind of url's to the location list but even with that desperate attempt no joy at all. :-(

 

And now for my question after this log explination;

  • Can you please post a good instruction with some screenshots and examples or something what to put where.
    I think it would help alot of us?
  • For the other question I would like to know if it's possible to show more then one location from the LocationList at once?

I hope everything is clear,

Thanks in advanced,
Kind regards,

Maarten