Coder Social home page Coder Social logo

react-naver-map's People

Contributors

josworks27 avatar lifeisegg123 avatar yeskyu12 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

react-naver-map's Issues

reactIcon

중심을 좌표에 위치하게 변경

fix: access mapInstance outside of Map component

hi, first of all I'm big fan of you.
i have little idea in this library

AS-IS
to access map instance, we can use useMapContext
but because of Provider is inside of Map component, map instance is accessible only from child components with the map component as a parent.

const InnerMap = () => {
    const map = useMapContext()
    return (
        ...
    )
}
const NaverMap = () => {
    return (
    <Map
      <InnerMap />
    </Map>
    )
}

TO-BE
how about change usage of useMapContext like this?

index.tsx
<MapContextProvider>
    <App />
</MapContextProvider>

App.tsx

function App() {
  const map = useMapContext();
  return (
    <Map />
  );
}

i'll make pr if you ok.

reactIcon `<div>` 로 감싸기

reactIcon�에 <image> 태그를 넣고 계속해서 렌더링하면 점점 쪼그라드는 이슈

  • <div> 로 감싸면 해결되지만 정확한 이유는 모름

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.