GithubHelp home page GithubHelp logo

openstreetmap_hooked's People

Contributors

ric2016 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

openstreetmap_hooked's Issues

(Configurable) max zoom level

if only events from a single location are shown, we currently zoom in all the way, which is not very useful.

Set a sensible max zoom level for this case (and maybe make it available as a configuration option).

also check in hierarchy

"The module doesn’t seem to locate places unless all components of the place name are present in the place hierarchy
For example, I have a location "Moordown, Buttermere, Wiltshire, England” but I’ve only entered the location data for "Buttermere, Wiltshire, England”. GoogleMaps seems to ignore the first component when this occurs"

Add family events

Mainly marriage is probably of interest here, but there is no good reason not to include all family events.

Help display list Diagram

on your tree i can see the list diagram possible.
but on my tree the bottom on the list are under the map
i use webtrees 1.7.16 in local with your last module version
theme webtrees
thanks to tell me why i have not as you as display and how i can correct this

see yours
image

see for me
image

Hooks module (v3) crashes module admin when InnoDB is available but webtrees still uses myIsam for the modules table

This issue is with the Hooks module, which you obtain from a third party. You might therefor not be inclined to change the code for it, but you may want to document the behaviour I describe, and a workaround for it.

My webtrees (1.7.9) still uses MyISAM as database engine, since it was first installed as version 1.2.6.

On my localhost installation, I have even disabled InnoDB, because of other tools that work better with MyISAM. As a consequence, the ENGINE=InnoDB instruction in ./modules_v3/hooks_repackaged/Module/Hooks/Schema/Migration0.php is ignored, and in turn the MyISAM engine ignores the FOREIGN KEY instruction (reduces it to just another index). Therefor installing the Hooks module for openstreetmap_hooked runs fine on that localhost.

On my public webserver installation however, that also still uses the old MyISAM tables, I can not disable the InnoDB engine, and the maj_hooks table is in effect created as an InnoDB table. But a FOREIGN KEY restriction requires exact equality of the 2 keys involved, including the database engine for their respective tables. This causes an error when Migration0.php is first executed, from the module administration code :

SQLSTATE[HY000]: General error: 1005 Can't create table webtrees.webtr_maj_hooks (errno: 150 "Foreign key constraint is incorrectly formed")

Workaround
Replace the database engine in ./modules_v3/hooks_repackaged/Module/Hooks/Schema/Migration0.php with ENGINE=MyISAM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.