Modify

Opened 3 years ago

Closed 10 months ago

#14951 closed enhancement (fixed)

New "ref:FR:NAF" link to a map

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>

Attachments (0)

Change History (4)

comment:1 Changed 3 years ago by FrViPofm

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 18 months ago by Don-vip (previous) (diff)

comment:2 Changed 18 months ago by Don-vip

Description: modified (diff)

comment:3 Changed 18 months ago by Don-vip

First rule added in [o34854:34856]. lat/lon mapping remains to do.

comment:4 Changed 10 months ago by Don-vip

Resolution: fixed
Status: newclosed

lat/lon mapping added in [o35148]. But the website you gave does not work at all, so I had to remove the rule :/

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.