• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

Show Maps When Creating Inventory Sources

Knowledge Base
2
4
478
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    darkuser123 last edited by 26 Nov 2020, 10:15

    Hello
    I want to add google maps when inputting inventory source data, so I'm using vue to show the maps and user will placed the marker, what I want is when user pointed the marker in maps, the latitude and longitude form automatically fill, I have got the latitude and longitude from google api, how can I assign the value to the latitude and longitude form ?

    Thank u

    1 Reply Last reply Reply Quote 0
    • devansh-webkul
      devansh-webkul last edited by 26 Nov 2020, 13:29

      Hi @darkuser123,

      You already told that you are using the Vue component, so just make that two field dynamic. Just make a template for latitude and longitude and replace it with the old one.

      1 Reply Last reply Reply Quote 0
      • D
        darkuser123 last edited by darkuser123 27 Nov 2020, 02:46 27 Nov 2020, 02:34

        @devansh-webkul where is the main.js or app.js location for Admin->settings->inventory_sources folder ? i want to check where is this validation come from, because i want longitude and latitude become required too Capture.PNG

        1 Reply Last reply Reply Quote 0
        • devansh-webkul
          devansh-webkul last edited by 27 Nov 2020, 13:00

          Hi @darkuser123,

          Please check this file i.e. packages/Webkul/Admin/src/Resources/assets/js/app.js as this is the entry point for admin.

          1 Reply Last reply Reply Quote 0
          3 out of 4
          • First post
            3/4
            Last post