Re: [Tiki-users] Plugin map, Content and style of POI
Karsten Wemheuer <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Jonny,
thanks a lot for the information. I think I can work with it and will
find a solution for the map.
Karsten
Am Donnerstag, den 03.12.2020, 18:27 +0000 schrieb Jonny Bradley via
TikiWiki-users:
> Hi Karsten
>
> I called the new "mode" for the pref ol3 because there were huge
> changes between v2 and v3, like it's basically almost a completely
> new project, but by the time i got to it they had moved on to v5, and
> now they're on v6 i think, so if you're using it in tiki 18+ you're
> actually using Open Layers 5.x
>
> Confusing isn't it (sorry ;)
>
> Re the css maps elements css, no there's not really any documentation
> i'm afraid, but you can find the selectors in the DOM inspector in
> you browser developer tools...
>
> The id of the tooltip (black box on hover) uses the bootstrap tooltip
> class so for css you can do something like:
>
> /* this is the caption box */
> .tooltip .tooltip-inner {
> background-color: #fff;
> color: #060;
> }
>
> /* and this is the little triangle underneath it */
> .tooltip .bs-tooltip-top .arrow::before {
> border-top-color: #fff;
> }
>
> Sadly this uses the global theme colours (i think) so the css above
> may change other things, so if you want to just do this on one page
> (say, page id 42) you can add #page_42 in front, e.g.
>
> /* this is the caption box */
> #page_42 .tooltip .tooltip-inner {
> background-color: #fff;
> color: #060;
> }
>
> /* and this is the little triangle underneath it */
> #page_42 .tooltip .bs-tooltip-top .arrow::before {
> border-top-color: #fff;
> }
>
> Hope that helps, sorry it ended up a bit complicated... hopefully you
> can work something similar out for the bubble popups? ;)
>
> jonny
>
>
>
>
>
> >
> > On 3 Dec 2020, at 11:32, Karsten Wemheuer <[email protected]> wrote:
> >
> > Hi Jonny,
> >
> > I am using "library=ol3", so I think its v3. What is the difference
> > to
> > v5? I never heard about it. Is it avaliable in Tiki21?
> >
> > My questions about CSS and theming refer to the box that appears on
> > mouseover at a POI (black rectangle, white font) and the bubble
> > that
> > appears on klicking the POI (it simply displays tracker fields and
> > tracker values). Do You have any links to documentation about this
> > points?
> >
> > Karsten
> >
> > Am Donnerstag, den 03.12.2020, 08:50 +0000 schrieb Jonny Bradley
> > via
> > TikiWiki-users:
> > >
> > > Hi Karsten
> > >
> > > In the old (v2) OpenLayers maps - not really, but in the newer
> > > mode
> > > (ol3+ currently v5) you can customise everything with CSS, but
> > > various other bits of the implementation are missing still i'm
> > > afraid.
> > >
> > > jonny
> > >
> > >
> > >
> > >
> > > >
> > > >
> > > > On 1 Dec 2020, at 12:18, Karsten Wemheuer <[email protected]> wrote:
> > > >
> > > > Hi Jonny,
> > > >
> > > > thanks Jonny, I set up "List detail popup" option and now I see
> > > > the
> > > > information.
> > > >
> > > > Do you have a tip how I can design the bubble optically (is
> > > > there a
> > > > tpl-file or similar for theming)?
> > > >
> > > > Karsten
> > > >
> > > > Am Dienstag, den 01.12.2020, 11:31 +0000 schrieb Jonny Bradley
> > > > via
> > > > TikiWiki-users:
> > > > >
> > > > >
> > > > > Hi Karsten again
> > > > >
> > > > > The bubble popup shows the fields set in the "List detail
> > > > > popup"
> > > > > option on the tracker options -> display panel.
> > > > >
> > > > > HTH
> > > > >
> > > > > jonny
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 30 Nov 2020, at 15:54, Karsten Wemheuer <[email protected]>
> > > > > > wrote:
> > > > > >
> > > > > > Hi *,
> > > > > >
> > > > > > when I position some pins for POIs on a map, the pins show
> > > > > > the
> > > > > > name
> > > > > > from the tracker on mouseover. A white bubble without
> > > > > > content
> > > > > > opens
> > > > > > when I click on the pin. The bubble shows the name from the
> > > > > > tracker
> > > > > > item as title. How could I place other information from the
> > > > > > tracker
> > > > > > item in the bubble and how can I style the bubble?
> > > > > >
> > > > > > Thanks in advance,
> > > > > >
> > > > > > Karsten
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > TikiWiki-users mailing list
> > > > > > [email protected]
> > > > > > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
> > > > > _______________________________________________
> > > > > TikiWiki-users mailing list
> > > > > [email protected]
> > > > > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
> > > > _______________________________________________
> > > > TikiWiki-users mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
> > >
> > > _______________________________________________
> > > TikiWiki-users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
> >
> > _______________________________________________
> > TikiWiki-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
>
>
> _______________________________________________
> TikiWiki-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-users
_______________________________________________
TikiWiki-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-users