Code Monkey home page Code Monkey logo

Comments (6)

ingo avatar ingo commented on August 23, 2024

Could you list the steps in order that you tried? This should work for you.

from ti.map.

sweco-septjh avatar sweco-septjh commented on August 23, 2024

Hey Ingo, thans for fast reply. (im new to building modules so i tried different ways to do it)
First try:
Step 1: Creating a new module in titanium, naming it "Ti.Map"
Step 2: Open the xcode project that was built by titanium.
Step 3: Adding all the files from classes library (except TiMapModule classes)
Step 4: I copy/paste the TiMapModule.h and TiMapModule.m functions and such to my TiMapModule classes.
Step 5: Saving, and then try to package my module with the armv7 problem.

Second try:
Step 1: Creating a new module in titanium, naming it "Ti.Map".
Step 2: Deleting all the classes in iphone folder
Step 3: Replacing it with the ti.map module classes.
Step 4: Try to package.

from ti.map.

ingo avatar ingo commented on August 23, 2024

Why do you need to create a new module? There is already a Xcode project: https://github.com/appcelerator-modules/ti.map/tree/stable/ios/map.xcodeproj. You can just fork the repo, make your changes, and then file a PR back if you like.

from ti.map.

sweco-septjh avatar sweco-septjh commented on August 23, 2024

I need to extend the ti.map with tile overlay support (which was implemented in the old ben.coding map project), i guess i dont need to create a new module, but like i said i am a newbie at module building for titanium.

Could you please explain to me how to use this build this module, extending it with a simple string return, and how to use it in titanium project?

from ti.map.

sweco-septjh avatar sweco-septjh commented on August 23, 2024

Hey again.
Im sorry if it´s not the right forum to bring it up, but i would really like your help people!

Could you please tell me in some easy steps, how to check out ti.map repo and use it as a module in an existing project?

from ti.map.

alejandrofcarrera avatar alejandrofcarrera commented on August 23, 2024

I recommend you fork this repo, open map.xcodeproj with xCode, customize titanium.xcconfig with your titanium configuration, so you can use terminal and execute build.py to generate installable .zip module. After that you can extend all you want and regenerate with your new changes.

Read this guides:
Titanium Module Development
iOS Module Development

from ti.map.

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.