Coder Social home page Coder Social logo

mapy.cz-wordpress-plugin's Introduction

English bellow

Mapy.cz Wordpress Plugin

Zobrazení mapy mapy.cz kdekoliv na wordpress webu. Zatím umí pouze zobrazit 1 bod na mapě.

Jak na to

  1. Vytvořte mapu v administrátorské sekci - potřebuje nějaké vlastní ID a souřadnice
  2. Kde je potřeba zobrazit mapu, vložte shortcode [mcz_map id="vlastní_ID" class="vlastní_třída"]
    • atribut class je nepovinný, přidá mapě zadanou třídu pro vlastní css apod.
    • mapa bude mít třídy vlastní_třída, mcz-map a mcz-map-vlastní_ID a id mcz-map-vlastní_ID

Lepší funkce?

Rád přidám jakoukoliv funkci, stačí napsat nebo vytvořit issue/feature request (tahleta primitivní verze zatím stačila pro mé použití).

Licence

Se samotným pluginem si dělejte, co chcete, ale pro použití na stránce se ujistěte, že splňujete licenční podmínky Mapy.cz API

Mapy.cz Wordpress Plugin (en)

Displays mapy.cz maps on your website. Currently offers only basic functionality - display map with one specified point.

How to use it

  1. create map in admin menu with custom ID and coordinates
  2. put shortcode [mcz_map id="your_custom_ID" class="your_custom_class"] where you want your map to appear
    • attribute class is not required, can be used for custom styling etc.
    • map will have classes your_custom_class, mcz-map and mcz-map-your_custom_ID and id mcz-map-your_custom_ID

Need more?

I will be happy to make more functions. Just write me or create issue/feature request. This primitive version of plugin was good enough for my use.

License

You can do whatever you want with this plugin but for üse on your website make sure you fulfill conditions of Mapy.cz API (in Czech only).

mapy.cz-wordpress-plugin's People

Contributors

matyasbach avatar

Stargazers

 avatar

Watchers

 avatar  avatar

mapy.cz-wordpress-plugin's Issues

Show map in Admin section

  • show map under form in admin section - immediatelly reacting to coordinates changes
  • enable position edit directly in map

Coordinates format

Hi, what format of coordinates should I use? Currently I get no map on the page. Thanks, Filip

Nezobrazuje se mapa

Po vložení mapy do šablony Highlight, základní verze šablon (twentytwo ...) se nezobrazí. Zkoušel jsem vymazat css šablony, ale bez efektu. Fyzicky mapa v kódu existuje, jen to css nějakým způsobem dává do pozadí. Má to opravovat css max-wight: auto, ale ten v kódu je. Verze wordpressu 5.0.2.

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.