what do you mean by a local png? any icon that is used is going to be
referenced by a url somewhere. you can, if you want, define a data: url
in order to avoid needing to make a separate http request, but anyway
once the icon is fetched once it will be cached and other references to
it will be fast.
On 9/9/2015 9:40 AM, [email protected] wrote:
I tried working with that example, actually. My problem was that they
- use different icons so they have to put the url in the json file
- use a link to the image online instead of referring to a local png
I wasn't able to figure out how to proceed. Do I really have to add
"pin.png" to the json file for every single item? That doesn't seem
right somehow as I want to use the same icon for all items.
Sorry that I'm so slow with this, I've never worked with html/exhibit
before and the different demos/examples sometimes aren't enough help.
Am Dienstag, 8. September 2015 15:56:52 UTC-4 schrieb Luis Miguel
Morillas:
data-ex-icon is ok. See the example [1] Is "pin.png" the correct url?
[1]
http://simile-widgets.org/exhibit3/examples/presidents/presidents.html
<http://simile-widgets.org/exhibit3/examples/presidents/presidents.html>
Saludos,
-- luismiguel (@lmorillas)
2015-09-08 17:45 GMT+02:00 <[email protected] <javascript:>>:
> Hi everybody,
>
> I'm trying to create a map with a lot of marked places and would
like to
> replace the standard exhibit map icon (orange bubble) with
something a
> little thinner. I am very new to exhibit and not sure how/where
to modify my
> code. I have the icon I would like to use saved as pin.png.
Could anybody
> tell me what I have to do to exchange the icon?
> Here is the map part of my code:
>
> <td id="main-content">
> <div data-ex-role="viewPanel">
> <div data-ex-role="view"
> data-ex-view-class="Map"
> data-ex-label="Resume"
> data-ex-latlng=".latlan"
> data-ex-center="38.894955,-77.036646"
> data-ex-zoom="11"
> data-ex-map-height="620"
> data-ex-show-header="false"
> style = "display:none;">
>
> <div class="map-lens" data-ex-role="lens"
style="display:
> none;">
>
> <div>Skills: <span
data-ex-content=".skills"></span> <span
> data-ex-content=".skills2"></span></div>
> <div>Languages: <span
data-ex-content=".language"></span>
> <span data-ex-content=".language2"></span></div>
>
> </div>
> </div>
> </div>
> </td>
>
>
>
> I tried adding the line
> data-ex-icon="pin.png"
> which didn't work. I know this can't be so hard and would
appreciate some
> help.
>
> Thanks!
>
>
> --
> You received this message because you are subscribed to the
Google Groups
> "SIMILE Widgets" group.
> To unsubscribe from this group and stop receiving emails from
it, send an
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected]
<javascript:>.
> Visit this group at
http://groups.google.com/group/simile-widgets
<http://groups.google.com/group/simile-widgets>.
> For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
You received this message because you are subscribed to the Google
Groups "SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "SIMILE
Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.