Re: General Digest, Vol 26, Issue 16 (Out of the Office)

View: New views
1 Messages — Rating Filter:   Alert me  

Re: General Digest, Vol 26, Issue 16 (Out of the Office)

by Ann Jenkins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am out of the office until Monday, June 30th.  I will be checking my
email as time allows while I am at MCIT.

If you need immediate assistance with distance education related issues,
you may call Eddie Dunn at extension 1268 or Monica Bremer at 1229.

Have a great day,
Ann

>>> general 06/20/08 11:22 >>>

Send General mailing list submissions to
        general@...

To subscribe or unsubscribe via the World Wide Web, visit
        http://simile.mit.edu/mailman/listinfo/general
or, via email, send a message with subject or body 'help' to
        general-request@...

You can reach the person managing the list at
        general-owner@...

When replying, please edit your Subject line so it is more specific
than "Re: Contents of General digest..."


Today's Topics:

   1. getting images to show as icons on map (Undeen, Don)


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

Message: 1
Date: Fri, 20 Jun 2008 12:22:34 -0400
From: "Undeen, Don" <Don.Undeen@...>
Subject: getting images to show as icons on map
To: <General@...>
Message-ID:
        <28FD664987125B47BE7F43488685EDC71C89CD12@...>
Content-Type: text/plain; charset="us-ascii"

Hi,

I'm trying to get images to show up as icons on my map, like this
example here does:

http://simile.mit.edu/exhibit/examples/presidents/presidents-2.html

 

I've got a json file that looks like this:

{

      "items" :      [

            {

                  "ObjectNumber" :   "1970.100.7",

                  "imageURL" : "100px-Gerald_Ford.jpg",

                  "DisplayName" :    "J. and J. G. Low Art Tile Works",

                  "Classification" : "Ceramic",

                  "ObjectName" :     "Border Tile",

                  "DisplayLocation" :       "Chelsea, Massachusetts",

                  "DateEnd" :        1881,

                  "type" :           "ArtObject",

                  "label" :          "583",

                  "DateBegin" :      1878,

                  "ObjectID" :       583

            },

            {

                  "ObjectNumber" :   "33.120.105",

                  "imageURL" : "100px-Gerald_Ford.jpg",

                  "DisplayName" :    "Benjamin Burt",

                  "Classification" : "Silver",

                  "ObjectName" :     "Beaker",

                  "DisplayLocation" :       "Boston, Massachusetts",

                  "DateEnd" :        1800,

                  "type" :           "ArtObject",

                  "label" :          "398",

                  "DateBegin" :      1770,

                  "ObjectID" :       398

            },

                        {

                  "ObjectNumber" :   "33.120.105a",

                  "imageURL" : "100px-Gerald_Ford.jpg",

                  "DisplayName" :    "Benjamin Burta",

                  "Classification" : "Silvera",

                  "ObjectName" :     "Beakera",

                  "DisplayLocation" :       "Boston, Massachusetts",

                  "DateEnd" :        1800,

                  "type" :           "ArtObject",

                  "label" :          "399",

                  "DateBegin" :      1770,

                  "ObjectID" :       399

            },

            { id: '583', addressLatLng: '42.39817,-71.03085' },

 

      { id: '398', addressLatLng: '42.35888,-81.05682' },

      { id: '399', addressLatLng: '52.35888,-71.05682' }

      ],

      "types" : {

            "ArtObject" : {

                  "label" : "Object",

                  "pluralLabel" : "Objects"

                  }

            },

     

     

      "properties" : {

            "ObjectID" :  {

                  "valueType" : "number"

            },

            "DateBegin" : {

                  "valueType" : "number"

            },

            "DateEnd" :   {

                  "valueType" : "number"

            }

      }

}

 

The 100px-Gerald_Ford.jpg file is in the same folder as the rest of my
code.

 

When I load the map, the image doesn't appear.

 

One thing is, I'm running all this on localhost. Would this cause any
problem with the loading of the image?

 

I've also tried referencing external image with full urls, also to no
avail.

 

Anyone know what might be causing this?

 

Many thanks for all your help and hard work.

 

 

Don Undeen

Senior Information Architect

Metropolitan Museum of Art

don.undeen@... <mailto:don.undeen@...>

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://simile.mit.edu/pipermail/general/attachments/20080620/59f83f55/attachment.htm


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

_______________________________________________
General mailing list
General@...
http://simile.mit.edu/mailman/listinfo/general


End of General Digest, Vol 26, Issue 16
***************************************
_______________________________________________
General mailing list
General@...
http://simile.mit.edu/mailman/listinfo/general