Opened 9 years ago

Last modified 6 years ago

#14951 closed enhancement

New "ref:FR:NAF" link to a map — at Version 2

Reported by: FrViPofm Owned by: Don-vip
Priority: normal Milestone:
Component: Core tag2link Version:
Keywords: Cc:

Description (last modified by Don-vip)

<rule>
    <condition k="ref:FR:NAF" v="[A-Z0-9-]{5}" />
    <link name="View a map of %name% items" https://sidjy.github.io/ape.html?ape=4751Z%v%" />
</rule>

If it is possible to get the center of the viewbox or of the object, it should be something like :

<rule>
    <condition k="ref:FR:NAF" v="[A-Z0-9-]{5}" />
    <link name="View a map of %name% items" https://sidjy.github.io/ape.html?ape=4751Z%v%#15/%lat%/%lon%" />
</rule>

Change History (2)

comment:1 by FrViPofm, 9 years ago

Oups !

        <rule>
            <condition k="ref:FR:NAF" v="[A-Z0-9-]{5}" />
            <link name="View a map of %name% items" href="https://sidjy.github.io/ape.html?ape=%v%" />
        </rule>

and

        <rule>
            <condition k="ref:FR:NAF" v="[A-Z0-9-]{5}" />
            <link name="View a map of %name% items" href="https://sidjy.github.io/ape.html?ape=%v%#%zoom%/%lat%/%lon%" />
        </rule>
Last edited 7 years ago by Don-vip (previous) (diff)

comment:2 by Don-vip, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.