Modify

Opened 8 years ago

Closed 5 years 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 by FrViPofm, 8 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 6 years ago by Don-vip (previous) (diff)

comment:2 by Don-vip, 6 years ago

Description: modified (diff)

comment:3 by Don-vip, 6 years ago

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

comment:4 by Don-vip, 5 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.