javascript - Floor-plan in Android and svg -
i want show simple custom floor-plan in android app, similar image below:
the target colour area in (i info in app):
it perfect if each of these areas clickable set onclicklistener or similar , able zoom in/out images.
the main restriction want local, is, no connection internet service import image.
i have tried loading html contains svg floor-plan, don't know how change colour of area android when move 1 area another.
how can approach this?
you can create simple html page within webview , attach svg , add javascript, when tapping on elements in svg call javascript function. can sent events native java code in android app if app native or handle in html.
i believe article question interfacing svg
Comments
Post a Comment