Exhibit: Painter service

13 views
Skip to first unread message

Scott

unread,
Jul 12, 2008, 8:27:52 PM7/12/08
to SIMILE Widgets
I'm trying to setup Exhibit to run locally without having to make any
external http requests. Is the painter service (http://simile.mit.edu/
painter/) available for download? If not, is there any way to render
map markers without making the external http request?

thaiboxer

unread,
Jul 13, 2008, 12:49:20 AM7/13/08
to SIMILE Widgets
http://groups.google.com/group/simile-widgets/browse_thread/thread/8279a3f9ec18e05/ba445927c2fd65c0?hl=en&lnk=gst&q=Painter#ba445927c2fd65c0

Don,

The standard map extension uses the "painter" service at
http://simile.mit.edu/painter/ to generate those map marker images.
And
that service, being external, cannot see your localhost URLs. There
are
2 options:

- run the painter service yourself and then in your HTML, pointer to
it
like so

<html>
<head>
<link rel="exhibit/map-painter"
href="http://localhost/painter/painter?" />

- or use the simple map extension by Dan Lange (he posted a message
previously about it). His extension renders the markers right in the
browser.

David "

Scott

unread,
Jul 13, 2008, 7:53:33 PM7/13/08
to SIMILE Widgets
Hi thaiboxer,

Regarding option 1: How can I run the painter service myself? Is the
source code available for download? If so, where can I find it?

Regarding option 2: I took a look at Dan Lange's simplemap-view.js
but am not sure how to include that in the Exhibit API that I
downloaded. I am not a programmer and was wondering if there's any
instructions on how to do so.

I'm trying to put together a world map with info on my family tree. I
would like to run Exhibit on my computer or on my web host in case in
case it is no longer hosted on simile.mit.edu in the future. Any
suggestions are much appreciated.

Regards,
Scott

On Jul 12, 9:49 pm, thaiboxer <japhys...@gmail.com> wrote:
> http://groups.google.com/group/simile-widgets/browse_thread/thread/82...
>
> Don,
>
> The standard map extension uses the "painter" service athttp://simile.mit.edu/painter/to generate those map marker images.

thaiboxer

unread,
Jul 14, 2008, 10:02:21 AM7/14/08
to SIMILE Widgets
" I am not a programmer " thats makes 2 of us ;)

i really don't know the specifics of your questions, i just saw the
related post & was trying to save the pros a little time.

I would recommend going though examples, old posts & using firebug.
I'm pretty sure you can find one that uses simplemap-view.js (i'm
thinking you just include that in your script calls, if it the
existing needs to be turned off or conflicts i don't know)

i wouldn't worry to much about MIT going down, if it does i think you
can count on community support coming up with a solution.

Your objective seems pretty straight forward, i think there is a site
that actually is trying to provide that info (family tree) using
exhibit. The bookmark/ name is eluding me & i have a job going out
this week but will try to find it when i can.

GL,
japhy




On Jul 13, 6:53 pm, Scott <oneupthe...@gmail.com> wrote:
> Hi thaiboxer,
>
> Regarding option 1:  How can I run the painter service myself?  Is the
> source code available for download?  If so, where can I find it?
>
> Regarding option 2:  I took a look at Dan Lange's simplemap-view.js
> but am not sure how to include that in the Exhibit API that I
> downloaded.  I am not a programmer and was wondering if there's any
> instructions on how to do so.
>
> I'm trying to put together a world map with info on my family tree.  I
> would like to run Exhibit on my computer or on my web host in case in
> case it is no longer hosted on simile.mit.edu in the future.  Any
> suggestions are much appreciated.
>
> Regards,
> Scott
>
> On Jul 12, 9:49 pm, thaiboxer <japhys...@gmail.com> wrote:
>
> >http://groups.google.com/group/simile-widgets/browse_thread/thread/82...
>
> > Don,
>
> > The standard map extension uses the "painter" service athttp://simile.mit.edu/painter/togenerate those map marker images.

David Huynh

unread,
Jul 14, 2008, 1:05:30 PM7/14/08
to simile-...@googlegroups.com
thaiboxer wrote:
> " I am not a programmer " thats makes 2 of us ;)
>
> i really don't know the specifics of your questions, i just saw the
> related post & was trying to save the pros a little time.
>
> I would recommend going though examples, old posts & using firebug.
> I'm pretty sure you can find one that uses simplemap-view.js (i'm
> thinking you just include that in your script calls, if it the
> existing needs to be turned off or conflicts i don't know)
>
> i wouldn't worry to much about MIT going down, if it does i think you
> can count on community support coming up with a solution.
>
> Your objective seems pretty straight forward, i think there is a site
> that actually is trying to provide that info (family tree) using
> exhibit. The bookmark/ name is eluding me & i have a job going out
> this week but will try to find it when i can.
>
The painter code base can be checked out from here:

http://simile.mit.edu/repository/painter/trunk/

You need Maven to build and run it. To build

mvn package

To run

mvn jetty:run

Then the service is available at

http://localhost:5555/painter/painter

Note that you can configure which painter service to use in your HTML file

<html>
<head>
...
<link rel="exhibit/map-painter"
href="http://localhost:5555/painter/painter" />
...
</head>
...
</html>

David

Reply all
Reply to author
Forward
0 new messages