GithubHelp home page GithubHelp logo

supasintatiyanupanwong / map-kit-android-utils Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 4.0 800 KB

Utilities that are useful for a wide range of applications using the Map Kit. Adapted from Maps SDK for Android Utility Library.

License: Apache License 2.0

Java 100.00%
maps android-library android kml map-clustering heatmaps geojson java

map-kit-android-utils's Introduction

Map Kit Utility Library

Maven Central javadoc license

Utilities that are useful for a wide range of applications using the Map Kit.

  • Marker clustering — handles the display of a large number of points
  • Heat maps — display a large number of points as a heat map
  • IconGenerator — display text on your Markers
  • Poly decoding and encoding — compact encoding for paths, interoperability with Maps API web services
  • Spherical geometry — for example: computeDistance, computeHeading, computeArea
  • KML — displays KML data
  • GeoJSON — displays and styles GeoJSON data

See wiki for usage documentation.

Declaring dependencies

To add a dependency on Map Kit Utility Library, you must add the Maven Central repository to your project.

Add the dependencies for the artifacts you need in the build.gradle file for your app or module:

dependencies {
    implementation 'dev.supasintatiyanupanwong.libraries.android.kits.maps:maps-utils:1.0.0'
}  

For more information about dependencies, see Add build dependencies.

Feedback

Your feedback helps make Map Kit Utility Library. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues or the existing discussions in this library before you create a new one.

License

Copyright 2020 Supasin Tatiyanupanwong

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

map-kit-android-utils's People

Contributors

supasintatiyanupanwong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

map-kit-android-utils's Issues

Overwriting click listeners when adding GeoJsonLayers

Hey @SupasinTatiyanupanwong ,

this is an impressive library that you wrote! Thanks a ton. I am currently implementing MapView support myself for the core part and it worked pretty well - so thanks for saving me a lot of work by providing me a basis.

However, when I tested the app after using this set of libraries everything seemed to work fine. After a while I faced an issue that my onMapMarkerClicked-Listener was removed. I debugged it and I found out that for some reason you are resetting all listeners for the MapManager whenever a new Layer ist added.

This is pretty different from the original utils behavior, isn't it?

What do you suggest to mitigate this behavior?

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.