inorganik / ar-poi Goto Github PK
View Code? Open in Web Editor NEWUse ARKit to view points of interest
Use ARKit to view points of interest
Can we pass UIView below code . currently you have convert UIView to image. I need to pass UIView and get button events. How is it possible ?
func view(_ view: ARSKView, nodeFor anchor: ARAnchor) -> SKNode? {
// Create and configure a node for the anchor added to the view's session.
let annots = annotations.filter {
$0.identifier! == anchor.identifier
}
if annots.count > 0 {
let annot = annots.first
let image = annot?.getTooltipImage()
let tooltip = SKTexture(image: image!)
let sprite = SKSpriteNode(texture: tooltip)
sprite.name = "poi"
return sprite
}
return nil
}
First, thank you! This is so helpful for what I am working on. I am working to learn and have ran into a wall! I can not figure out how to use a geojson file from my map to create the pois. The map is contained to a small park and shows amenities, this was created with a tileset in Mapbox.
Any help would be greatly appreciated!
App looks very good. But SceneView not releasing memory.
Hi, just found your repo, and it looks very nice :-) I am going a project where I need exactly something like this, and this is a great help.
However, the heading seems to swing a lot: It seems that my heading is completely random to start with, i.e. the POIs entered look correct compared to each other, but if they should be south, they might appear to the east, west and north. Do you know why this is?
I can see that you have a property called debugHeading
, how does this help debug the heading?
If you can help me out here, I could help develop the library further - it shows great promise, I think :-)
Sincerely,
Joachim
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.