Public view using token

shawn8088 years ago

hello! i am using the token method to display public view however its not a clean look having the webUI setting frames around it. what can I do to just show location with token ?

by the way on 3.11 once you add a user (the very first user) you can not delete that user. I tested this on my vps and the demo ones.

Anton Tananaev8 years ago

You should look at the simple map view page (under "simple" folder). It's just a map without anything extra.

shawn8088 years ago

Yes it works. But it's not using the customer map (google tiles) i chose from admin. Also just by adding "simple" its showing all devices. is it suppose to do that?

Anton Tananaev8 years ago

No, it's a very simple app that doesn't use any settings from the server. You can easily change it if you want.

shawn8088 years ago

thats the only java i need to change? where i do include

https://mt0.google.com/vt/lyrs=m&hl=en&x={x}&y={y}&z={z}&s=Ga
Anton Tananaev8 years ago

Please don't post full files into the forum comment. It's completely unnecessary and makes it unreadable.

You have to read OpenLayers documentation if you want to modify the code.

shawn8088 years ago

so the only thing i change is "app.js"?

Anton Tananaev8 years ago

Yes, correct.

shawn8088 years ago

Thank you ! ?