Giter Club home page Giter Club logo

Comments (1)

andrewkrakowski avatar andrewkrakowski commented on September 26, 2024

I went through https://github.com/bcgov/smk/wiki/SMK-Client-API-Examples as that would be what we feel a developer building a site from scratch would use.

A short section on which folder to copy would be helpful. I used this https://github.com/bcgov/smk/tree/master/smk-parent/smk-client/src/main/javascript and at the time it had a different smk.js file. Should it be a different client?

Under the victoria.json sample code there is a typo for that last comma (not required).

It wasn't immediately obvious the bullet points were parameters you could pass with the URL, documentation to explain that with a clearer example would be nice. Also explicitly state you can pass multiple parameters with the &. This can be done in Example 5 if you used a link the first time in one of the early examples of passing a parameter. Also in example 5 if you can explain the use of foo would be helpful.

The wms-layer.json, we needed the styleName to use underscores not hyphens for the example to work. Bruce knows more on that.

In section 3B and C I couldn't get they layer to show up when passed via the URL, only when included in the script. If you can just make sure there isn't a bug there and indeed it should work as described.

Example 8B and 8B are the same.

from smk.

Related Issues (20)

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.