. Net language APP development platform-Smobiler Learning Log: How to quickly fine-tune the location when locating a map, too mobiler

Source: Internet
Author: User

. Net language APP development platform-Smobiler Learning Log: How to quickly fine-tune the location when locating a map, too mobiler

Scycler is a development platform that uses the. Net language to develop apps in the VS environment. It may be more convenient than Xamarin.

 

Style 1, Target Style

The following operations are required to achieve the effect:

Ii. fine-tuning the location code
VB: Dim longpolling As Decimal = 0 Dim Latitude As Decimal = 0 Dim addressInfo As String = "" Private Sub btnAddress_Click (sender As Object, e As EventArgs) Handles btnAddress. click If longpolling <> 0 & Latitude <> 0 & addressInfo. trim (). length> 0 Then Me. gps1.GetEditGps (New GPSData (longbench, Latitude, addressInfo) Else Toast ("positioning failed") End If End Sub
C #: private decimal longpolling = 0; private decimal Latitude = 0; private string addressInfo = ""; private void btnAddress_Click (object sender, EventArgs e) {if (longpolling! = 0 & Latitude! = 0 & addressInfo. trim (). length> 0) {this. gps1.GetEditGps (new GPSData (longpolling, Latitude, addressInfo);} else {Toast ("positioning failed ");}}

Note: For more Event code on the page except for location fine-tuning, see the MapView control.

Iii. scycler Form Design Interface display Effect

Iv. Mobile phone effect display

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.